Commit 65310375 authored by Seungha Yang's avatar Seungha Yang 🐑

glwindow/win32: Accept both win32 and egl display

EGL would be the case where we use ANGLE.
parent 929c17e6
......@@ -97,8 +97,8 @@ gst_gl_window_win32_new (GstGLDisplay * display)
{
GstGLWindowWin32 *window;
if ((gst_gl_display_get_handle_type (display) & GST_GL_DISPLAY_TYPE_WIN32) ==
0)
if ((gst_gl_display_get_handle_type (display) &
(GST_GL_DISPLAY_TYPE_WIN32 | GST_GL_DISPLAY_TYPE_EGL)) == 0)
/* we require an win32 display to create win32 windows */
return NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment