aboutsummaryrefslogtreecommitdiff
path: root/source/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/main.cpp')
-rw-r--r--source/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/main.cpp b/source/main.cpp
index 592350f..c0668d0 100644
--- a/source/main.cpp
+++ b/source/main.cpp
@@ -36,7 +36,7 @@ void GlfwErrorCallback(int error, const char* description) {
}
void GlfwFramebufferResizeCallback(GLFWwindow* window, int width, int height) {
- AppConfig::mainWidnowWidth = width;
+ AppConfig::mainWindowWidth = width;
AppConfig::mainWindowHeight = height;
AppConfig::mainWindowAspectRatio = (float)width / height;
}
@@ -401,7 +401,7 @@ void main() {
}
}
- int fbWidth = AppConfig::mainWidnowWidth;
+ int fbWidth = AppConfig::mainWindowWidth;
int fbHeight = AppConfig::mainWindowHeight;
glfwGetFramebufferSize(window, &fbWidth, &fbHeight);
glViewport(0, 0, fbWidth, fbHeight);