aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/graphics.cpp
diff options
context:
space:
mode:
authorSimei Yin2017-07-13 23:26:47 +0200
committerSimei Yin2017-07-13 23:29:26 +0200
commitb60aa5eae76c049d301ed6a6727ac2f558a4e821 (patch)
tree8f97b67228aba43c5221b58a997dec367740bfb4 /engines/sludge/graphics.cpp
parent8fde04636001fe1c902187d85302c9db2ecffec0 (diff)
downloadscummvm-rg350-b60aa5eae76c049d301ed6a6727ac2f558a4e821.tar.gz
scummvm-rg350-b60aa5eae76c049d301ed6a6727ac2f558a4e821.tar.bz2
scummvm-rg350-b60aa5eae76c049d301ed6a6727ac2f558a4e821.zip
SLUDGE: fix warnings
Diffstat (limited to 'engines/sludge/graphics.cpp')
-rw-r--r--engines/sludge/graphics.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sludge/graphics.cpp b/engines/sludge/graphics.cpp
index 4a6d9b89a3..d43ae4e872 100644
--- a/engines/sludge/graphics.cpp
+++ b/engines/sludge/graphics.cpp
@@ -49,10 +49,11 @@ extern int lightMapNumber;
// This is for swapping settings between rendering to texture or to the screen
void setPixelCoords(bool pixels) {
+#if 0
static int current = -1;
// if (current == pixels) return;
current = pixels;
-#if 0
+
glBindTexture(GL_TEXTURE_2D, backdropTextureName);
if (pixels) {