TINYGL: Removed duplicated variables.

Explanation: those two variables were already tracked inside the class FrameBuffer and they were duplicated here, since there is no need to keep a copy of those variables I just removed them.
This commit is contained in:
Stefano Musumeci 2014-07-25 15:23:50 +02:00
parent 2b3fd8501a
commit 96167b84c4
5 changed files with 5 additions and 13 deletions

View file

@ -499,7 +499,7 @@ void tglBlit(BlitImage *blitImage, const BlitTransform &transform) {
TinyGL::GLContext *c =TinyGL::gl_get_context();
bool disableColor = transform._aTint == 1.0f && transform._bTint == 1.0f && transform._gTint == 1.0f && transform._rTint == 1.0f;
bool disableTransform = transform._destinationRectangle.width() == 0 && transform._destinationRectangle.height() == 0 && transform._rotation == 0;
bool disableBlend = c->enableBlend == false;
bool disableBlend = c->fb->isBlendingEnabled() == false;
bool enableAlphaBlending = c->fb->isAlphaBlendingEnabled();
if (enableAlphaBlending) {
if (transform._flipHorizontally == false && transform._flipVertically == false) {