Browse Source

glgsg: disable exceptions in SPIRV-Cross

rdb 5 years ago
parent
commit
73414d7dad
1 changed files with 1 additions and 0 deletions
  1. 1 0
      panda/src/glstuff/glShaderContext_src.cxx

+ 1 - 0
panda/src/glstuff/glShaderContext_src.cxx

@@ -29,6 +29,7 @@
 #include "shaderModuleGlsl.h"
 #include "shaderModuleSpirV.h"
 
+#define SPIRV_CROSS_EXCEPTIONS_TO_ASSERTIONS
 #include <spirv_cross/spirv_glsl.hpp>
 
 using std::dec;