gl: fix crash on windows with intel driver

https://bugzilla.gnome.org/show_bug.cgi?id=749430
This commit is contained in:
Xavier Claessens 2015-05-19 10:43:28 -04:00 committed by Tim-Philipp Müller
parent f0ed0b728d
commit 80fab54c0a
2 changed files with 0 additions and 4 deletions

View file

@ -1452,8 +1452,6 @@ _init_convert_fbo (GstGLColorConvert * convert)
gl->GenRenderbuffers (1, &convert->depth_buffer);
gl->BindRenderbuffer (GL_RENDERBUFFER, convert->depth_buffer);
if (USING_OPENGL (convert->context) || USING_OPENGL3 (convert->context)) {
gl->RenderbufferStorage (GL_RENDERBUFFER, GL_DEPTH_COMPONENT,
out_width, out_height);
gl->RenderbufferStorage (GL_RENDERBUFFER, GL_DEPTH24_STENCIL8,
out_width, out_height);
}

View file

@ -114,8 +114,6 @@ gst_gl_framebuffer_generate (GstGLFramebuffer * frame, gint width, gint height,
if (gst_gl_context_get_gl_api (frame->context) & (GST_GL_API_OPENGL |
GST_GL_API_OPENGL3)) {
gl->RenderbufferStorage (GL_RENDERBUFFER, GL_DEPTH_COMPONENT, width,
height);
gl->RenderbufferStorage (GL_RENDERBUFFER, GL_DEPTH24_STENCIL8, width,
height);
}