Browse Source

Merge pull request #1226 from brakhane/fix-opengl-vs2014

fix preprocessor directive
Daniel Buckmaster 10 năm trước cách đây
mục cha
commit
11d49d70a5

+ 1 - 1
Engine/source/materials/customMaterialDefinition.cpp

@@ -152,7 +152,7 @@ bool CustomMaterial::onAdd()
 
 
             pos = i;
             pos = i;
 
 
-#if TORQUE_OPENGL
+#ifdef TORQUE_OPENGL
             GFXAssertFatal(0, error);
             GFXAssertFatal(0, error);
             continue;
             continue;
 #endif
 #endif