use FTranslationID in the high level parts of the hardware renderer.

This commit is contained in:
Christoph Oelckers 2023-11-09 22:50:41 +01:00
commit 9f90c64727
11 changed files with 27 additions and 16 deletions

View file

@ -635,6 +635,12 @@ public:
SetMaterial(mat, clampmode, translation, overrideshader);
}
void SetMaterial(FGameTexture* tex, EUpscaleFlags upscalemask, int scaleflags, int clampmode, FTranslationID translation, int overrideshader)
{
SetMaterial(tex, upscalemask, scaleflags, clampmode, translation.index(), overrideshader);
}
void SetClipSplit(float bottom, float top)
{
mClipSplit[0] = bottom;