Fix GLFW3-Software fullscreen aspect ratio
This commit is contained in:
parent
39b89bdb02
commit
ba4c9aa55f
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue