mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
gl: fix crash on windows with intel driver
https://bugzilla.gnome.org/show_bug.cgi?id=749430
This commit is contained in:
parent
8157574d0f
commit
7ca9f52ccb
2 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue