projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
per old glut manpages, glutTeapot calls generate clockwise frontfacing
[freeglut]
/
src
/
egl
/
fg_structure_egl.c
diff --git
a/src/egl/fg_structure_egl.c
b/src/egl/fg_structure_egl.c
index
d636bf8
..
135f049
100644
(file)
--- a/
src/egl/fg_structure_egl.c
+++ b/
src/egl/fg_structure_egl.c
@@
-1,5
+1,5
@@
/*
/*
- * freeglut_structure_egl.c
+ * fg_structure_egl.c
*
* Windows and menus need tree structure
*
*
* Windows and menus need tree structure
*
@@
-26,10
+26,11
@@
#include <GL/freeglut.h>
#include "fg_internal.h"
#include <GL/freeglut.h>
#include "fg_internal.h"
-extern SFG_Structure fgStructure;
-
-void fgPlatformCreateWindow ( SFG_Window *window )
+/**
+ * Initialize default platform-specific fields in SFG_Window
+ */
+void fghPlatformCreateWindowEGL ( SFG_Window *window )
{
window->Window.pContext.egl.Surface = EGL_NO_SURFACE;
{
window->Window.pContext.egl.Surface = EGL_NO_SURFACE;
- window->Window.pContext.egl.ContextConfig = NULL;
+ window->Window.pContext.egl.Config = NULL;
}
}