X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2FCommon%2Ffreeglut_structure.c;h=59a8b83719dce1dd85982948db2fb6c95d9aa5ac;hb=50dea63211495f1d8302c25eb1acae51347d1502;hp=56798f15baaea21c1ff1af392a089a115d37b294;hpb=9486b7d6a3bf0d00cc00ab98380e99810250aa84;p=freeglut diff --git a/src/Common/freeglut_structure.c b/src/Common/freeglut_structure.c index 56798f1..59a8b83 100644 --- a/src/Common/freeglut_structure.c +++ b/src/Common/freeglut_structure.c @@ -65,7 +65,7 @@ void fgPlatformCreateWindow ( SFG_Window *window ) { window->Window.pContext.FBConfig = NULL; - window->State.OldHeight = window->State.OldWidth = -1; + window->State.pWState.OldHeight = window->State.pWState.OldWidth = -1; } #endif