aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobia Tesan2013-07-16 02:15:57 +0200
committerTobia Tesan2013-08-01 00:24:43 +0200
commit566495de3b62c135767a3bf473e5a52d190caa15 (patch)
treec0812f04c01c7313bbabe91009d56a1ec101c4f4
parentf872d316784b43e394e3c7c3490181fd465b7ba0 (diff)
downloadscummvm-rg350-566495de3b62c135767a3bf473e5a52d190caa15.tar.gz
scummvm-rg350-566495de3b62c135767a3bf473e5a52d190caa15.tar.bz2
scummvm-rg350-566495de3b62c135767a3bf473e5a52d190caa15.zip
WINTERMUTE: Remove unused variable in transparent_surface.cpp
-rw-r--r--engines/wintermute/graphics/transparent_surface.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/engines/wintermute/graphics/transparent_surface.cpp b/engines/wintermute/graphics/transparent_surface.cpp
index 48d550c26f..7aa25d1502 100644
--- a/engines/wintermute/graphics/transparent_surface.cpp
+++ b/engines/wintermute/graphics/transparent_surface.cpp
@@ -106,8 +106,6 @@ void TransparentSurface::copyPixelBilinear(float projX, float projY, int dstX, i
float q21y = (y2 - projY);
float q12x = (x2 - projX);
float q12y = (projY - y1);
- float q22x = (projX - x1);
- float q22y = (projY - y1);
if (x1 == x2 && y1 == y2) {
for (int c = 0; c < 4; c++) {
@@ -119,12 +117,10 @@ void TransparentSurface::copyPixelBilinear(float projX, float projY, int dstX, i
q11x = 0.5;
q12x = 0.5;
q21x = 0.5;
- q22x = 0.5;
} else if (y1 == y2) {
q11y = 0.5;
q12y = 0.5;
q21y = 0.5;
- q22y = 0.5;
}
for (int c = 0; c < 4; c++) {