- Implementing RGB666-to-Palette colormatching for textures.

This commit is contained in:
Rachael Alexanderson 2016-12-19 07:18:20 -05:00 committed by Christoph Oelckers
commit 5d85990d5f
8 changed files with 30 additions and 15 deletions

View file

@ -528,7 +528,7 @@ void FPCXTexture::MakeTexture()
{
for(int x=0; x < Width; x++)
{
Pixels[y+Height*x] = RGB32k.RGB[row[0]>>3][row[1]>>3][row[2]>>3];
Pixels[y+Height*x] = RGB256k.RGB[row[0]>>2][row[1]>>2][row[2]>>2];
row+=3;
}
}