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