[381/906] EGL and GLX:: set a minimum depth size

This commit is contained in:
Julien Isorce 2009-10-15 14:59:08 +02:00 committed by Tim-Philipp Müller
parent 95dbe51fef
commit b639781471
2 changed files with 2 additions and 0 deletions

View file

@ -247,6 +247,7 @@ gst_gl_window_new (gint width, gint height, gulong external_gl_context)
gint attrib[] = {
GLX_RGBA,
GLX_RED_SIZE, 1, GLX_GREEN_SIZE, 1, GLX_BLUE_SIZE, 1,
GLX_DEPTH_SIZE, 16,
GLX_DOUBLEBUFFER,
None
};

View file

@ -255,6 +255,7 @@ gst_gl_window_new (gint width, gint height, gulong external_gl_context)
EGLint config_attrib[] = {
EGL_SURFACE_TYPE, EGL_WINDOW_BIT,
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
EGL_DEPTH_SIZE, 16,
EGL_NONE
};