From 9aef0d00666699035d13b4889b9b2ddcbafb9bba Mon Sep 17 00:00:00 2001 From: "John F. Fay" Date: Tue, 5 Jul 2005 14:39:07 +0000 Subject: [PATCH] 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 --- src/freeglut_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); } -- 1.7.10.4