What a cube...
This commit is contained in:
parent
9a229cf771
commit
cedcba1835
|
@ -19,6 +19,8 @@ void renderInit(GLFWwindow* window) {
|
|||
|
||||
initMeshes();
|
||||
|
||||
glEnable(GL_DEPTH_TEST);
|
||||
|
||||
// Compile shader
|
||||
shader = new Shader("assets/shaders/phong.vs", "assets/shaders/phong.fs");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue