- fixed palette setup.

This commit is contained in:
Christoph Oelckers 2020-05-23 21:24:49 +02:00
parent 2d29d130c0
commit 2703823ac4

View file

@ -290,7 +290,7 @@ void uploadbasepalette(int32_t basepalnum)
basepalWFullBrightInfo[i*4+0] = remap->Palette[i].b;
basepalWFullBrightInfo[i*4+1] = remap->Palette[i].g;
basepalWFullBrightInfo[i*4+2] = remap->Palette[i].r;
basepalWFullBrightInfo[i * 4 + 3] = GPalette.GlobalBrightmap.Palette[i].r; // todo: get rid of this.
basepalWFullBrightInfo[i * 4 + 3] = remap->Palette[i].a;
}
GLInterface.SetPaletteData(basepalnum, basepalWFullBrightInfo);