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
master
Dennis Schridde 2007-11-09 17:43:50 +00:00
parent d3c341421d
commit 223bc803e8
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ BOOL screenInitialise(
glOrtho(0, width, height, 0, 1, -1); glOrtho(0, width, height, 0, 1, -1);
glMatrixMode(GL_TEXTURE); 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); glMatrixMode(GL_MODELVIEW);
glLoadIdentity(); glLoadIdentity();