瀏覽代碼

Merge branch 'patch-1' of https://github.com/saolsen/stb into working

Sean Barrett 9 年之前
父節點
當前提交
878e8caaa6
共有 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