Преглед изворни кода

typo in shader

Should be mat4 or mat4x4, not mat44
Stephen Olsen пре 10 година
родитељ
комит
d113bea69a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      stb_voxel_render.h

+ 1 - 1
stb_voxel_render.h

@@ -1590,7 +1590,7 @@ static const char *stbvox_vertex_program =
       "uniform vec3 normal_table[32];\n"
 
       #ifndef STBVOX_CONFIG_OPENGL_MODELVIEW
-         "uniform mat44 model_view;\n"
+         "uniform mat4x4 model_view;\n"
       #endif
 
       // fragment output data