mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 18:29:01 +08:00
12 lines
370 B
Diff
12 lines
370 B
Diff
|
--- a/src/mdl/compiler/compiler_hlsl/gen_hlsl_intrinsics.py
|
||
|
+++ b/src/mdl/compiler/compiler_hlsl/gen_hlsl_intrinsics.py
|
||
|
@@ -383,7 +383,7 @@ namespace {
|
||
|
def get_db_hlsl():
|
||
|
global g_db_hlsl
|
||
|
if g_db_hlsl is None:
|
||
|
- with open(g_templ_name, "rU") as f:
|
||
|
+ with open(g_templ_name, "r") as f:
|
||
|
g_db_hlsl = db_hlsl(f)
|
||
|
return g_db_hlsl
|
||
|
|