X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2FCommon%2Ffreeglut_structure.c;h=59a8b83719dce1dd85982948db2fb6c95d9aa5ac;hb=0cf70b776640b9fda4e620c7553ff8168be2b8e1;hp=f8d748ffb34dc8d2180a2828e7ec3a169866d586;hpb=83cbc20173cda65aeef88ce4a1da6a08c1fd010f;p=freeglut diff --git a/src/Common/freeglut_structure.c b/src/Common/freeglut_structure.c index f8d748f..59a8b83 100644 --- a/src/Common/freeglut_structure.c +++ b/src/Common/freeglut_structure.c @@ -63,9 +63,9 @@ static void fghClearCallBacks( SFG_Window *window ) #if TARGET_HOST_POSIX_X11 void fgPlatformCreateWindow ( SFG_Window *window ) { - window->Window.FBConfig = NULL; + window->Window.pContext.FBConfig = NULL; - window->State.OldHeight = window->State.OldWidth = -1; + window->State.pWState.OldHeight = window->State.pWState.OldWidth = -1; } #endif