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

gl: Decouple win32 window and wgl context

With ANGLE, win32 window can be used with gles and egl
parent 4a006d69
......@@ -66,7 +66,7 @@
#include "cocoa/gstglcontext_cocoa.h"
#endif
#if GST_GL_HAVE_PLATFORM_WGL
#include "win32/gstglcontext_wgl.h"
#include "wgl/gstglcontext_wgl.h"
#endif
#if GST_GL_HAVE_PLATFORM_EAGL
#include "eagl/gstglcontext_eagl.h"
......
......@@ -671,7 +671,7 @@ if need_platform_wgl != 'no' and need_win_win32 != 'no'
gl_sources += [
'win32/gstglwindow_win32.c',
'win32/gstglwindow_win32.c',
'win32/gstglcontext_wgl.c',
'wgl/gstglcontext_wgl.c',
]
enabled_gl_winsys += 'win32'
gl_winsys_deps += gdi_dep
......
......@@ -21,7 +21,7 @@
#ifndef __GST_GL_CONTEXT_WGL_H__
#define __GST_GL_CONTEXT_WGL_H__
#include "gstglwindow_win32.h"
#include "../win32/gstglwindow_win32.h"
G_BEGIN_DECLS
......
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