- fixed translation setup for palette mode.

This commit is contained in:
Christoph Oelckers 2020-09-13 21:23:38 +02:00
parent fe329b0870
commit 1368c26d22

View file

@ -343,7 +343,7 @@ void FGLRenderState::ApplyMaterial(FMaterial *mat, int clampmode, int translatio
{
for (int i = 1; i < 3; i++)
{
auto systex = static_cast<FHardwareTexture*>(mat->GetLayer(i, 0, &layer));
auto systex = static_cast<FHardwareTexture*>(mat->GetLayer(i, translation, &layer));
systex->Bind(i, false);
maxbound = i;
}