aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFathi Boudra <fabo@debian.org>2011-10-19 23:40:14 +0300
committerFathi Boudra <fabo@debian.org>2011-10-19 23:40:14 +0300
commitcbd1d3603d419d147232bc0d4402f841e9808f10 (patch)
treeae5ec5fdfaca53fe605f733d169697b756f810e1
parent3b1bbda26b63fc06e239681bc3d0299b4a6c9dd1 (diff)
Fix eglChooseConfig failure caused by EGL_NATIVE_VISUAL_TYPE
-rw-r--r--code/egl/egl_glimp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/code/egl/egl_glimp.c b/code/egl/egl_glimp.c
index 5032683..0accc73 100644
--- a/code/egl/egl_glimp.c
+++ b/code/egl/egl_glimp.c
@@ -102,8 +102,6 @@ static void make_window(Display * dpy, Screen * scr, EGLDisplay eglDisplay,
int XResult = BadImplementation;
int blackColour = BlackPixel(dpy, DefaultScreen(dpy));
EGLint cfg_attribs[] = {
- EGL_NATIVE_VISUAL_TYPE, 0,
-
/* RGB565 */
EGL_BUFFER_SIZE, 16,
EGL_RED_SIZE, 5,