aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/graphics.cpp
diff options
context:
space:
mode:
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) {