Slight typo fix

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7756 4a71c877-e1ca-e34f-864e-861f7616d084
master
Buginator 2009-06-17 04:43:45 +00:00 committed by Git SVN Gateway
parent eb224c0f5b
commit 80ea1a5649
1 changed files with 1 additions and 2 deletions

View File

@ -222,7 +222,7 @@ void setTileColour(int x, int y, PIELIGHT colour)
psTile->colour = colour;
}
// HACK NOTE: The current (max) texture size of a tile is 128x128. We allow up to a user defined texture size
// NOTE: The current (max) texture size of a tile is 128x128. We allow up to a user defined texture size
// of 2048. This will cause ugly seams for the decals, if user picks a texture size bigger than the tile!
#define MAX_TILE_TEXTURE_SIZE 128.0f
/// Set up the texture coordinates for a tile
@ -248,7 +248,6 @@ static void getTileTexCoords(Vector2f *uv, unsigned int tileNumber)
shiftamount = (texsize -1.0) / texsize; // 1 pixel border
one = 1.0f / (TILES_IN_PAGE_COLUMN * texsize);
// bump the texture coords, for 1 pixel border, so our range is [.5,(texsize - .5)]
one += centertile * shiftamount;
/*