mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-15 12:10:53 +00:00
- fixed translation setup for palette mode.
This commit is contained in:
parent
fe329b0870
commit
1368c26d22
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ void FGLRenderState::ApplyMaterial(FMaterial *mat, int clampmode, int translatio
|
||||||
{
|
{
|
||||||
for (int i = 1; i < 3; i++)
|
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);
|
systex->Bind(i, false);
|
||||||
maxbound = i;
|
maxbound = i;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue