- 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

@ -531,7 +531,7 @@ void FMultiPatchTexture::MakeTexture ()
{
if (*out == 0 && in[3] != 0)
{
*out = RGB32k.RGB[in[2]>>3][in[1]>>3][in[0]>>3];
*out = RGB256k.RGB[in[2]>>2][in[1]>>2][in[0]>>2];
}
out += Height;
in += 4;