From 223bc803e8466be4d7643f8b818a89e8bc7ab930 Mon Sep 17 00:00:00 2001 From: Dennis Schridde Date: Fri, 9 Nov 2007 17:43:50 +0000 Subject: [PATCH] Use OLD_TEXTURE_SIZE_FIX instead of 256.0f to scale texcoords, to make clear that this is a fix for the old ... git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2759 4a71c877-e1ca-e34f-864e-861f7616d084 --- lib/ivis_opengl/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ivis_opengl/screen.c b/lib/ivis_opengl/screen.c index 9ae600f4e..b835d3c2a 100644 --- a/lib/ivis_opengl/screen.c +++ b/lib/ivis_opengl/screen.c @@ -190,7 +190,7 @@ BOOL screenInitialise( glOrtho(0, width, height, 0, 1, -1); glMatrixMode(GL_TEXTURE); - glScalef(1.0f/256.0f, 1.0f/256.0f, 1.0f); // FIXME Scaling texture coords to 256x256! + glScalef(1.0f/OLD_TEXTURE_SIZE_FIX, 1.0f/OLD_TEXTURE_SIZE_FIX, 1.0f); // FIXME Scaling texture coords to 256x256! glMatrixMode(GL_MODELVIEW); glLoadIdentity();