aboutsummaryrefslogtreecommitdiff
path: root/vulkan.py
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2016-02-26 14:29:48 -0700
committerMark Lobodzinski <mark@lunarg.com>2016-02-29 08:27:10 -0700
commitca1b232ecc8276c37179f27ca5ea033f1be11808 (patch)
treeddc52a55302292bf93137784e01284480b9541cf /vulkan.py
parentb443f37101c70fb99107b5118d9d4353a024d504 (diff)
downloadusermoji-ca1b232ecc8276c37179f27ca5ea033f1be11808.tar.xz
cmake: GH PR17, Fix vulkan.py code generation script for Windows builds
Diffstat (limited to 'vulkan.py')
-rwxr-xr-xvulkan.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/vulkan.py b/vulkan.py
index e773d63f..683f8acf 100755
--- a/vulkan.py
+++ b/vulkan.py
@@ -1254,7 +1254,7 @@ lunarg_debug_marker = Extension(
import sys
-if len(sys.argv) < 2:
+if len(sys.argv) > 3:
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]