X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_window.c;h=50e900f7dfa4ddc621a10d70cbca3231123de3c9;hb=0b29e3bf6d3736fa2dac4dfd792db622d490f004;hp=9ede7456d7805eb9e43b8cf54b4024ca75fe225b;hpb=c4ffff1de4b14af7f0efb231f476961c21f3f552;p=freeglut diff --git a/src/freeglut_window.c b/src/freeglut_window.c index 9ede745..50e900f 100644 --- a/src/freeglut_window.c +++ b/src/freeglut_window.c @@ -47,7 +47,7 @@ wchar_t* wstr_from_str(const char* str) } -#endif //TARGET_HOST_WINCE +#endif /* TARGET_HOST_WINCE */ /* * TODO BEFORE THE STABLE RELEASE: @@ -231,7 +231,7 @@ GLboolean fgSetupPixelFormat( SFG_Window* window, GLboolean checkOnly, if( checkOnly ) return GL_TRUE; return SetPixelFormat( window->Window.Device, pixelformat, ppfd ); -#endif //TARGET_HOST_WINCE +#endif /* TARGET_HOST_WINCE */ } #endif @@ -456,7 +456,7 @@ void fgOpenWindow( SFG_Window* window, const char* title, sizeHints.y = y; sizeHints.width = w; sizeHints.height = h; -#endif //TARGET_HOST_WINCE +#endif /* TARGET_HOST_WINCE */ wmHints.flags = StateHint; wmHints.initial_state = fgState.ForceIconic ? IconicState : NormalState; @@ -521,7 +521,7 @@ void fgOpenWindow( SFG_Window* window, const char* title, h += (GetSystemMetrics( SM_CYSIZEFRAME ) )*2 + GetSystemMetrics( SM_CYCAPTION ); } -#endif //TARGET_HOST_WINCE +#endif /* TARGET_HOST_WINCE */ if( ! fgState.Position.Use ) { @@ -589,7 +589,7 @@ void fgOpenWindow( SFG_Window* window, const char* title, fgDisplay.Instance, (LPVOID) window ); -#endif TARGET_HOST_WINCE +#endif /* TARGET_HOST_WINCE */ if( !( window->Window.Handle ) ) fgError( "Failed to create a window (%s)!", title ); @@ -599,7 +599,7 @@ void fgOpenWindow( SFG_Window* window, const char* title, #else ShowWindow( window->Window.Handle, fgState.ForceIconic ? SW_SHOWMINIMIZED : SW_SHOW ); -#endif //TARGET_HOST_WINCE +#endif /* TARGET_HOST_WINCE */ UpdateWindow( window->Window.Handle ); ShowCursor( TRUE ); /* XXX Old comments say "hide cusror"! */