From b60aa5eae76c049d301ed6a6727ac2f558a4e821 Mon Sep 17 00:00:00 2001 From: Simei Yin Date: Thu, 13 Jul 2017 23:26:47 +0200 Subject: SLUDGE: fix warnings --- engines/sludge/graphics.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/sludge/graphics.cpp') 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) { -- cgit v1.2.3