aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-05-31 10:47:03 +0200
committerdec05eba <dec05eba@protonmail.com>2021-05-31 10:47:03 +0200
commit01f82bd7967a4487ff01fb255f222447edfaf7e8 (patch)
treebcc15643222222962eccdfbed8d8956ae3407299
parentbfa468ba34d792316398f1d27f94cfce5b7aa8ab (diff)
Remove unecessary window texture resize
-rw-r--r--src/main.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index fb1c4ed..dd6eb8c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1076,7 +1076,6 @@ bool CMainApplication::HandleInput()
fprintf(stderr, "Failed to init texture\n");
//return false;
}
- window_texture_on_resize(&window_texture);
glBindTexture(GL_TEXTURE_2D, window_texture_get_opengl_texture_id(&window_texture));
glGetTexLevelParameteriv(GL_TEXTURE_2D, 0, GL_TEXTURE_WIDTH, &pixmap_texture_width);
glGetTexLevelParameteriv(GL_TEXTURE_2D, 0, GL_TEXTURE_HEIGHT, &pixmap_texture_height);