Przeglądaj źródła

Fixed GCC warning in release build.

bkaradzic 13 lat temu
rodzic
commit
5e15534628
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      tools/shaderc/shaderc.cpp

+ 1 - 1
tools/shaderc/shaderc.cpp

@@ -150,7 +150,7 @@ struct ConstantType
 
 
 #define BGFX_UNIFORM_FRAGMENTBIT UINT8_C(0x10)
 #define BGFX_UNIFORM_FRAGMENTBIT UINT8_C(0x10)
 
 
-static const char* s_constantTypeName[ConstantType::Count] =
+const char* s_constantTypeName[ConstantType::Count] =
 {
 {
 	"int",
 	"int",
 	"float",
 	"float",