mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
glwindow/win32: Accept both win32 and egl display
EGL would be the case where we use ANGLE.
This commit is contained in:
parent
929c17e6cc
commit
6531037533
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue