From ba4c9aa55f30e71d5ffcded4663e3c78bb49815d Mon Sep 17 00:00:00 2001 From: Clownacy <Clownacy@users.noreply.github.com> Date: Thu, 9 Apr 2020 20:42:10 +0100 Subject: [PATCH] Fix GLFW3-Software fullscreen aspect ratio --- src/Backends/GLFW3/Window-Software.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Backends/GLFW3/Window-Software.cpp b/src/Backends/GLFW3/Window-Software.cpp index 091175e5..4c4b72f6 100644 --- a/src/Backends/GLFW3/Window-Software.cpp +++ b/src/Backends/GLFW3/Window-Software.cpp @@ -60,6 +60,8 @@ unsigned char* WindowBackend_Software_CreateWindow(const char *window_title, int glEnable(GL_TEXTURE_2D); + WindowBackend_Software_HandleWindowResize(screen_width, screen_height); + // Create screen texture glGenTextures(1, &screen_texture_id); glBindTexture(GL_TEXTURE_2D, screen_texture_id);