Changed: Added parens around i<<1 so it's more readable.

~g2k
This commit is contained in:
2005-06-25 18:17:23 -04:00
parent c4a5861d6d
commit 890220ea4d

View File

@@ -166,7 +166,7 @@ TextureImage* LoadBMP(const char* fn)
uint32 i2;
for(i=0; i<pixels; i++)
{
i2 = i << 1 + 1;
i2 = (i << 1) + 1;
//Should make sure image[i] < palletteEntries
tex->data[i2] = bmpPallette[image[i]].red;
tex->data[i2 + 1] = bmpPallette[image[i]].blue;