mirror of
https://github.com/nzp-team/dquakeplus.git
synced 2024-11-22 20:02:37 +00:00
Allow CLUT4 to always force a palette
This commit is contained in:
parent
06b93a6e59
commit
a3d4dae418
1 changed files with 1 additions and 3 deletions
|
@ -208,9 +208,7 @@ void GL_Bind (int texture_index)
|
||||||
|
|
||||||
// Set the palette (for CLUT4)
|
// Set the palette (for CLUT4)
|
||||||
if (texture.format == GU_PSM_T4) {
|
if (texture.format == GU_PSM_T4) {
|
||||||
// HACK HACK HACK: avoid setting this all the time
|
VID_SetPalette4(texture.palette);
|
||||||
if (last_palette_wasnt_clut4 == qtrue)
|
|
||||||
VID_SetPalette4(texture.palette);
|
|
||||||
vid_palmode = GU_PSM_T4;
|
vid_palmode = GU_PSM_T4;
|
||||||
} else {
|
} else {
|
||||||
// HACK HACK HACK: avoid setting this all the time
|
// HACK HACK HACK: avoid setting this all the time
|
||||||
|
|
Loading…
Reference in a new issue