From 01f82bd7967a4487ff01fb255f222447edfaf7e8 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 31 May 2021 10:47:03 +0200 Subject: Remove unecessary window texture resize --- src/main.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3