glcontext: back out unintended lost_context changes

This commit is contained in:
Matthew Waters 2016-01-29 12:45:57 +11:00 committed by Tim-Philipp Müller
parent 5d2ddf7664
commit d41c132dfa
2 changed files with 1 additions and 13 deletions

View file

@ -720,13 +720,7 @@ gst_gl_context_egl_swap_buffers (GstGLContext * context)
egl = GST_GL_CONTEXT_EGL (context); egl = GST_GL_CONTEXT_EGL (context);
if (!eglSwapBuffers (egl->egl_display, egl->egl_surface)) { eglSwapBuffers (egl->egl_display, egl->egl_surface);
EGLint err = eglGetError ();
if (err == EGL_CONTEXT_LOST) {
gst_gl_context_lost_context (context);
}
}
} }
static GstGLAPI static GstGLAPI

View file

@ -1388,12 +1388,6 @@ failure:
return FALSE; return FALSE;
} }
void
gst_gl_context_lost_context (GstGLContext * context)
{
/* do stuff */
}
/** /**
* gst_gl_context_get_gl_context: * gst_gl_context_get_gl_context:
* @context: a #GstGLContext: * @context: a #GstGLContext: