diff options
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -448,6 +448,10 @@ video_output_features = [ compile_filename='test.m', framework_name=['Cocoa', 'IOKit', 'OpenGL']) } , { + 'name': 'gdi', + 'desc': 'GDI', + 'func': check_cc(lib='gdi32') + } , { 'name': '--wayland', 'desc': 'Wayland', 'func': check_pkg_config('wayland-client', '>= 1.2.0', @@ -510,6 +514,7 @@ video_output_features = [ } , { 'name': '--gl-win32', 'desc': 'OpenGL Win32 Backend', + 'deps': [ 'gdi' ], 'func': check_statement('windows.h', 'wglCreateContext(0)', lib='opengl32') } , { @@ -571,6 +576,7 @@ video_output_features = [ }, { 'name': '--direct3d', 'desc': 'Direct3D support', + 'deps': [ 'gdi' ], 'func': check_cc(header_name='d3d9.h'), } ] |