Browse Source

typo in shader

Should be mat4 or mat4x4, not mat44
Stephen Olsen 10 years ago
parent
commit
d113bea69a
1 changed files with 1 additions and 1 deletions
  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