diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2013-08-07 17:11:59 +0200 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2013-08-07 17:13:20 +0200 |
commit | 105527f012476654ac915836cf31664ad4fa97fa (patch) | |
tree | c2a923e2c1f7aee66c44ec08d1d3fed08295a82a | |
parent | a790c3ba874bd12b4b363f4c2fab51c9e1db6fc1 (diff) |
egl: Create a window surface if necessary
-rw-r--r-- | gst-libs/gst/gl/gstglegl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/gl/gstglegl.c b/gst-libs/gst/gl/gstglegl.c index 6eb4ad9..9d183ae 100644 --- a/gst-libs/gst/gl/gstglegl.c +++ b/gst-libs/gst/gl/gstglegl.c @@ -200,7 +200,7 @@ gst_gl_egl_create_context (EGLDisplay display, EGLNativeWindowType window, egl_exts = eglQueryString (egl->egl_display, EGL_EXTENSIONS); - if (window && FALSE) { + if (window) { egl->egl_surface = eglCreateWindowSurface (egl->egl_display, egl->egl_config, window, NULL); |