glcontext: back out unintended lost_context changes

This commit is contained in:
Matthew Waters 2016-01-29 12:45:57 +11:00
parent 49199b03ac
commit 406fe90331
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);
if (!eglSwapBuffers (egl->egl_display, egl->egl_surface)) {
EGLint err = eglGetError ();
if (err == EGL_CONTEXT_LOST) {
gst_gl_context_lost_context (context);
}
}
eglSwapBuffers (egl->egl_display, egl->egl_surface);
}
static GstGLAPI

View file

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