From cf0122e892df56bc3b013e5d92e487d0fd65f23d Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Fri, 20 Mar 2009 16:48:54 +0100 Subject: [PATCH] progs/wgl: Send a resize message after context have been created. --- progs/wgl/sharedtex_mt/sharedtex_mt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/progs/wgl/sharedtex_mt/sharedtex_mt.c b/progs/wgl/sharedtex_mt/sharedtex_mt.c index c461530e4ba..010eb873b85 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; -- 2.30.2