From: John F. Fay Date: Tue, 5 Jul 2005 14:39:07 +0000 (+0000) Subject: Implementing the new menu context variable names in Windows ... X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=9aef0d00666699035d13b4889b9b2ddcbafb9bba;p=freeglut Implementing the new menu context variable names in Windows ... git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@666 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/freeglut_main.c b/src/freeglut_main.c index 2fb73aa..c6d9c73 100644 --- a/src/freeglut_main.c +++ b/src/freeglut_main.c @@ -1599,13 +1599,13 @@ LRESULT CALLBACK fgWindowProc( HWND hWnd, UINT uMsg, WPARAM wParam, if( fgStructure.MenuContext ) wglMakeCurrent( window->Window.Device, - fgStructure.MenuContext->Context + fgStructure.MenuContext->MContext ); else { fgStructure.MenuContext = (SFG_MenuContext *)malloc( sizeof(SFG_MenuContext) ); - fgStructure.MenuContext->Context = + fgStructure.MenuContext->MContext = wglCreateContext( window->Window.Device ); }