2 * Copyright 2018-2020 Iwo 'Outfrost' Bujkiewicz
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
14 void resizeStage(GLFWwindow* window UNUSED, int width, int height) {
18 glViewport(0, 0, width, height);
20 viewportAspectRatio = (float) width / (float) height;