From cca65ba17827d86f966faeb91327301c6feb10bf Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Wed, 2 Jul 2025 12:07:04 +0200 Subject: [PATCH] Remove unused function from OpenGL renderer (#475) --- miniwin/src/d3drm/backends/opengl1/actual.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/miniwin/src/d3drm/backends/opengl1/actual.cpp b/miniwin/src/d3drm/backends/opengl1/actual.cpp index e809f7e5..9a2e314d 100644 --- a/miniwin/src/d3drm/backends/opengl1/actual.cpp +++ b/miniwin/src/d3drm/backends/opengl1/actual.cpp @@ -321,9 +321,6 @@ void GL11_Draw2DImage( glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); - GLint boundTexture = 0; - glGetIntegerv(GL_TEXTURE_BINDING_2D, &boundTexture); - float u1 = srcRect.x / cache.width; float v1 = srcRect.y / cache.height; float u2 = (srcRect.x + srcRect.w) / cache.width;