diff options
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3,6 +3,7 @@ #include "voxel.h" #include "window.h" #include "shader.h" +#include "mesh.h" int main(void) { @@ -35,7 +36,7 @@ int main(void) camera_proj_view(&camera, proj_view); shader_bind(shader); - shader_loadm4f(0, proj_view); + shader_load_mat4(0, proj_view); mesh_bind(&mesh); mesh_draw(&mesh); mesh_unbind(&mesh); |