aboutsummaryrefslogtreecommitdiffhomepage
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/wscript b/wscript
index afc0540fee..a5e6914133 100644
--- a/wscript
+++ b/wscript
@@ -663,6 +663,14 @@ video_output_features = [
'func': check_statement('windows.h', 'wglCreateContext(0)',
lib='opengl32')
} , {
+ 'name': '--gl-dxinterop',
+ 'desc': 'OpenGL/DirectX Interop Backend',
+ 'deps': [ 'gl-win32' ],
+ 'groups': [ 'gl' ],
+ 'func': compose_checks(
+ check_statement(['GL/gl.h', 'GL/wglext.h'], 'int i = WGL_ACCESS_WRITE_DISCARD_NV'),
+ check_statement('d3d9.h', 'IDirect3D9Ex *d'))
+ } , {
'name': '--egl-angle',
'desc': 'OpenGL Win32 ANGLE Backend',
'deps_any': [ 'os-win32', 'os-cygwin' ],