From: Michal Krol Date: Fri, 20 Mar 2009 15:48:54 +0000 (+0100) Subject: progs/wgl: Send a resize message after context have been created. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cf0122e892df56bc3b013e5d92e487d0fd65f23d;p=mesa.git progs/wgl: Send a resize message after context have been created. --- 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;