projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a game mode crashing bug, conditional compilation for Windows, and comment out...
[freeglut]
/
src
/
freeglut_display.c
diff --git
a/src/freeglut_display.c
b/src/freeglut_display.c
index
fe0ff13
..
b29f1cc
100644
(file)
--- a/
src/freeglut_display.c
+++ b/
src/freeglut_display.c
@@
-29,7
+29,7
@@
#include "config.h"
#endif
#include "config.h"
#endif
-#include "../include/GL/freeglut.h"
+#include <GL/freeglut.h>
#include "freeglut_internal.h"
#include "freeglut_internal.h"
@@
-59,7
+59,7
@@
void FGAPIENTRY glutSwapBuffers( void )
#if TARGET_HOST_UNIX_X11
glXSwapBuffers( fgDisplay.Display, fgStructure.Window->Window.Handle );
#if TARGET_HOST_UNIX_X11
glXSwapBuffers( fgDisplay.Display, fgStructure.Window->Window.Handle );
-#elif TARGET_HOST_WIN32
+#elif TARGET_HOST_WIN32 || TARGET_HOST_WINCE
SwapBuffers( fgStructure.Window->Window.Device );
#endif
SwapBuffers( fgStructure.Window->Window.Device );
#endif