projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba7aeb8
)
egl: bind the OpenGL API
author
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 30 May 2008 19:46:50 +0000
(13:46 -0600)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 30 May 2008 19:46:50 +0000
(13:46 -0600)
progs/egl/xeglgears.c
patch
|
blob
|
history
diff --git
a/progs/egl/xeglgears.c
b/progs/egl/xeglgears.c
index 503958cf8c261929add9234b73d1760e440a019e..519d4bb692fbbe636c42acf38c25c478bb54ec30 100644
(file)
--- a/
progs/egl/xeglgears.c
+++ b/
progs/egl/xeglgears.c
@@
-409,6
+409,8
@@
make_x_window(Display *x_dpy, EGLDisplay egl_dpy,
None, (char **)NULL, 0, &sizehints);
}
+ eglBindAPI(EGL_OPENGL_API);
+
ctx = eglCreateContext(egl_dpy, config, EGL_NO_CONTEXT, NULL );
if (!ctx) {
printf("Error: glXCreateContext failed\n");