Skip to content

Commit 7d03973

Browse files
committed
Fixed Windows shader compilation
1 parent e613a82 commit 7d03973

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bgfx/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def compile_shader(complete_path, include_dirs, shader_type):
164164
options.warnings_are_errors = False
165165
options.keep_intermediate = False
166166

167-
if platform.system() == "Win32":
167+
if platform.system() == "Windows":
168168
options.optimize = True
169169
options.optimization_level = 1 if shader_type == ShaderType.COMPUTE else 3
170170

0 commit comments

Comments
 (0)