X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2FCommon%2Ffreeglut_state.c;h=6630b6d8101b36ae668610cf0fefd9f3e9ba4009;hb=9486b7d6a3bf0d00cc00ab98380e99810250aa84;hp=434b41f3e70e4e751f36fbdf4de7c1f919401596;hpb=28ba5e26f5546a236e93dc3e23ce4777b41f9ffc;p=freeglut diff --git a/src/Common/freeglut_state.c b/src/Common/freeglut_state.c index 434b41f..6630b6d 100644 --- a/src/Common/freeglut_state.c +++ b/src/Common/freeglut_state.c @@ -66,7 +66,7 @@ static int fghGetConfig( int attribute ) if( fgStructure.CurrentWindow ) result = glXGetFBConfigAttrib( fgDisplay.Display, - *(fgStructure.CurrentWindow->Window.FBConfig), + *(fgStructure.CurrentWindow->Window.pContext.FBConfig), attribute, &returnValue ); @@ -125,7 +125,7 @@ int fgPlatformGlutGet ( GLenum eWhat ) else { const GLXFBConfig * fbconfig = - fgStructure.CurrentWindow->Window.FBConfig; + fgStructure.CurrentWindow->Window.pContext.FBConfig; XVisualInfo * visualInfo = glXGetVisualFromFBConfig( fgDisplay.Display, *fbconfig );