Demos (master): Fix the VG trivial examples.
Zack Rusin
zack at kemper.freedesktop.org
Wed Feb 1 04:11:28 UTC 2012
Module: Demos
Branch: master
Commit: 25d8ef63a6cf03aae1148dc22f3c323f3091bc44
URL: http://cgit.freedesktop.org/mesa/demos/commit/?id=25d8ef63a6cf03aae1148dc22f3c323f3091bc44
Author: Zack Rusin <zack at kde.org>
Date: Tue Jan 31 23:10:18 2012 -0500
Fix the VG trivial examples.
---
src/egl/openvg/trivial/eglcommon.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/egl/openvg/trivial/eglcommon.c b/src/egl/openvg/trivial/eglcommon.c
index 7d84031..871ef78 100644
--- a/src/egl/openvg/trivial/eglcommon.c
+++ b/src/egl/openvg/trivial/eglcommon.c
@@ -10,7 +10,7 @@
#include <X11/Xutil.h>
#include <X11/keysym.h>
#include <VG/openvg.h> /* using full OpenGL for now */
-#include <GLES/egl.h>
+#include <EGL/egl.h>
static init_func init = 0;
@@ -213,7 +213,7 @@ int run(int argc, char **argv,
EGLContext egl_ctx;
EGLDisplay egl_dpy;
char *dpyName = NULL;
- GLboolean printInfo = GL_FALSE;
+ EGLBoolean printInfo = EGL_FALSE;
EGLint egl_major, egl_minor;
int i;
const char *s;
@@ -229,7 +229,7 @@ int run(int argc, char **argv,
i++;
}
else if (strcmp(argv[i], "-info") == 0) {
- printInfo = GL_TRUE;
+ printInfo = EGL_TRUE;
}
}
More information about the mesa-commit
mailing list