projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removing some debug code
[freeglut]
/
src
/
egl
/
fg_display_egl.c
diff --git
a/src/egl/fg_display_egl.c
b/src/egl/fg_display_egl.c
index
f94d873
..
4bf3283
100644
(file)
--- a/
src/egl/fg_display_egl.c
+++ b/
src/egl/fg_display_egl.c
@@
-32,6
+32,6
@@
void fgPlatformGlutSwapBuffers( SFG_PlatformDisplay *pDisplayPtr, SFG_Window* CurrentWindow )
{
/* LOGI("Swap!"); */
void fgPlatformGlutSwapBuffers( SFG_PlatformDisplay *pDisplayPtr, SFG_Window* CurrentWindow )
{
/* LOGI("Swap!"); */
- if (!eglSwapBuffers(pDisplayPtr->eglDisplay, CurrentWindow->Window.pContext.eglSurface))
+ if (!eglSwapBuffers(pDisplayPtr->egl.Display, CurrentWindow->Window.pContext.egl.Surface))
fgError("eglSwapBuffers: error %x\n", eglGetError());
}
fgError("eglSwapBuffers: error %x\n", eglGetError());
}