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
@@ -289,8 +289,6 @@ static void framebuffer_size_callback(GLFWwindow* window, int width, int height)
Slot* slot = glfwGetWindowUserPointer(window);
printf("%08x to %i at %0.3f: Framebuffer size: %i %i\n",
counter++, slot->number, glfwGetTime(), width, height);
glViewport(0, 0, width, height);
}
static void window_content_scale_callback(GLFWwindow* window, float xscale, float yscale)