progs/wgl: Send a resize message after context have been created.
authorMichal Krol <michal@vmware.com>
Fri, 20 Mar 2009 15:48:54 +0000 (16:48 +0100)
committerMichal Krol <michal@vmware.com>
Fri, 20 Mar 2009 15:48:54 +0000 (16:48 +0100)
progs/wgl/sharedtex_mt/sharedtex_mt.c

index c461530e4bafecb21b59fca6c8564f2673431ed7..010eb873b8534abc2c3cdcfdd3bae71154aa275c 100644 (file)
@@ -437,6 +437,8 @@ threadRunner (void *arg)
       wglShareLists(win->sharedContext, win->Context);
    }
 
+   SendMessage(win->Win, WM_SIZE, 0, 0);
+
    while (1) {
       MSG msg;