mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- allow external replacements of SW's 3D Realms logo to use their own palette.
This was already present for Duke, but not here.
This commit is contained in:
parent
e5cb1976d3
commit
6062af562d
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class SWDRealmsScreen : SkippableScreenJob
|
|||
override void Draw(double sm)
|
||||
{
|
||||
let tex = TexMan.CheckForTexture("THREED_REALMS_PIC", TexMan.Type_Any);
|
||||
int translation = Translation.MakeID(Translation_BasePalette, DREALMSPAL);
|
||||
int translation = TexMan.UseGamePalette(tex) ? Translation.MakeID(Translation_BasePalette, DREALMSPAL) : 0;
|
||||
Screen.DrawTexture(tex, false, 0, 0, DTA_FullscreenEx, FSMode_ScaleToFit43, DTA_TranslationIndex, translation, DTA_LegacyRenderStyle, STYLE_Normal);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue