Make remaining tests set viewport in render loop

This commit is contained in:
Camilla Löwy
2018-02-04 14:38:25 +01:00
parent c29e4455bb
commit ff6a8891d4
5 changed files with 4 additions and 23 deletions
-2
View File
@@ -127,8 +127,6 @@ static void window_size_callback(GLFWwindow* window, int width, int height)
static void framebuffer_size_callback(GLFWwindow* window, int width, int height)
{
printf("%0.2f Framebuffer resized to %ix%i\n", glfwGetTime(), width, height);
glViewport(0, 0, width, height);
}
static void window_focus_callback(GLFWwindow* window, int focused)