summaryrefslogtreecommitdiffstats
path: root/progs/wgl/sharedtex_mt
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/sharedtex_mt
parentd6e877d0d716805907cbbaca3bcfcee84f98add6 (diff)
downloadexternal_mesa3d-cf0122e892df56bc3b013e5d92e487d0fd65f23d.zip
external_mesa3d-cf0122e892df56bc3b013e5d92e487d0fd65f23d.tar.gz
external_mesa3d-cf0122e892df56bc3b013e5d92e487d0fd65f23d.tar.bz2
progs/wgl: Send a resize message after context have been created.
Diffstat (limited to 'progs/wgl/sharedtex_mt')
-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 c461530..010eb87 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;