}
//TODO
- return 0;
+ //return 0;
glfwSetKeyCallback(win, clbk_key);
glfwSetCursorPosCallback(win, clbk_motion);
static void clbk_reshape(GLFWwindow *win, int width, int height)
{
+ gfx_reshape(width, height);
gfx_viewport(0, 0, width, height);
aspect = (float)width / (float)height;
mprojection = calc_projection_matrix(45, aspect, 0.5, 1000.0);
}
}
return false;
-}
\ No newline at end of file
+}