diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2016-02-15 17:33:56 -0700 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2016-02-15 17:33:56 -0700 |
| commit | 4eb9110060ccb67dc07c5533cc81fc1d80ee2e99 (patch) | |
| tree | 04a36d7de04946c349c2d69ba221627676f4fb49 /vulkan.py | |
| parent | 6772858f77b0792f29cf7a332b47b97d07144cdf (diff) | |
| download | usermoji-4eb9110060ccb67dc07c5533cc81fc1d80ee2e99.tar.xz | |
layers: Re-enable support for linux
Diffstat (limited to 'vulkan.py')
| -rwxr-xr-x | vulkan.py | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1200,10 +1200,13 @@ lunarg_debug_marker = Extension( ) import sys -if sys.platform == 'win32': +if sys.platform.startswith('win32'): extensions = [core, ext_khr_surface, ext_khr_device_swapchain, ext_khr_win32_surface] extensions_all = [core, ext_khr_surface, ext_khr_device_swapchain, ext_khr_win32_surface, lunarg_debug_report, lunarg_debug_marker] -else: +elif sys.platform.startswith('linux'): + extensions = [core, ext_khr_surface, ext_khr_device_swapchain, ext_khr_xcb_surface] + extensions_all = [core, ext_khr_surface, ext_khr_device_swapchain, ext_khr_xcb_surface, lunarg_debug_report, lunarg_debug_marker] +else: # android extensions = [core, ext_khr_surface, ext_khr_device_swapchain, ext_khr_xcb_surface, ext_khr_android_surface] extensions_all = [core, ext_khr_surface, ext_khr_device_swapchain, ext_khr_xcb_surface, ext_khr_android_surface, lunarg_debug_report, lunarg_debug_marker] |
