#include "render.h"
-void resizeStage(GLsizei width, GLsizei height) {
+void resizeStage(GLFWwindow* window, int width, int height) {
if (height == 0)
height = 1;
-
+
glViewport(0, 0, width, height);
-
+
viewportAspectRatio = (float) width / (float) height;
}