mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-11 18:41:14 +00:00
Remove unused function from OpenGL renderer (#475)
This commit is contained in:
parent
fb8fe5def4
commit
cca65ba178
@ -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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user