Remove unused function from OpenGL renderer (#475)

This commit is contained in:
Anders Jenbo 2025-07-02 12:07:04 +02:00 committed by GitHub
parent fb8fe5def4
commit cca65ba178
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -321,9 +321,6 @@ void GL11_Draw2DImage(
glEnable(GL_BLEND); glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); 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 u1 = srcRect.x / cache.width;
float v1 = srcRect.y / cache.height; float v1 = srcRect.y / cache.height;
float u2 = (srcRect.x + srcRect.w) / cache.width; float u2 = (srcRect.x + srcRect.w) / cache.width;