From 4eb9110060ccb67dc07c5533cc81fc1d80ee2e99 Mon Sep 17 00:00:00 2001 From: Mark Lobodzinski Date: Mon, 15 Feb 2016 17:33:56 -0700 Subject: layers: Re-enable support for linux --- vulkan.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'vulkan.py') diff --git a/vulkan.py b/vulkan.py index cc2f3c28..77fdffb2 100755 --- a/vulkan.py +++ b/vulkan.py @@ -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] -- cgit v1.2.3