summaryrefslogtreecommitdiff
path: root/progs/wgl
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-03-20 16:48:54 +0100
committerMichal Krol <michal@vmware.com>2009-03-20 16:48:54 +0100
commitcf0122e892df56bc3b013e5d92e487d0fd65f23d (patch)
treee4fef7f58a74205c66a503cd663f958aab2c681f /progs/wgl
parentd6e877d0d716805907cbbaca3bcfcee84f98add6 (diff)
progs/wgl: Send a resize message after context have been created.
Diffstat (limited to 'progs/wgl')
-rw-r--r--progs/wgl/sharedtex_mt/sharedtex_mt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/wgl/sharedtex_mt/sharedtex_mt.c b/progs/wgl/sharedtex_mt/sharedtex_mt.c
index c461530e4b..010eb873b8 100644
--- a/progs/wgl/sharedtex_mt/sharedtex_mt.c
+++ b/progs/wgl/sharedtex_mt/sharedtex_mt.c
@@ -437,6 +437,8 @@ threadRunner (void *arg)
wglShareLists(win->sharedContext, win->Context);
}
+ SendMessage(win->Win, WM_SIZE, 0, 0);
+
while (1) {
MSG msg;