eglglessink: Make sure we get a config we can use with GLES2

This commit is contained in:
Reynaldo H. Verdejo Pinochet 2012-09-19 19:23:50 -03:00 committed by Sebastian Dröge
parent 24b926a6cc
commit 19739bfb74

View file

@ -190,6 +190,7 @@ static EGLint eglglessink_RGBA8888_attribs[] = {
EGL_GREEN_SIZE, 8,
EGL_BLUE_SIZE, 8,
EGL_ALPHA_SIZE, 8,
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
EGL_NONE
};
@ -197,6 +198,7 @@ static EGLint eglglessink_RGB888_attribs[] = {
EGL_RED_SIZE, 8,
EGL_GREEN_SIZE, 8,
EGL_BLUE_SIZE, 8,
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
EGL_NONE
};
@ -204,6 +206,7 @@ static EGLint eglglessink_RGB565_attribs[] = {
EGL_RED_SIZE, 5,
EGL_GREEN_SIZE, 6,
EGL_BLUE_SIZE, 5,
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
EGL_NONE
};