projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
correcting a few typos i made earlier in the comments
[freeglut]
/
src
/
x11
/
fg_structure_x11.c
diff --git
a/src/x11/fg_structure_x11.c
b/src/x11/fg_structure_x11.c
index
cbc9129
..
e1d5eb4
100644
(file)
--- a/
src/x11/fg_structure_x11.c
+++ b/
src/x11/fg_structure_x11.c
@@
-33,7
+33,11
@@
extern SFG_Structure fgStructure;
void fgPlatformCreateWindow ( SFG_Window *window )
{
void fgPlatformCreateWindow ( SFG_Window *window )
{
+#ifdef EGL_VERSION_1_0
+ fghPlatformCreateWindowEGL(window);
+#else
window->Window.pContext.FBConfig = NULL;
window->Window.pContext.FBConfig = NULL;
+#endif
window->State.pWState.OldHeight = window->State.pWState.OldWidth = -1;
}
window->State.pWState.OldHeight = window->State.pWState.OldWidth = -1;
}