mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 10:11:04 +00:00
Revert "- disabled palette emulation for the GLES backend."
This reverts commit 8d9d3d5f8f
.
This commit is contained in:
parent
10c6fde8d6
commit
9501215ef2
2 changed files with 2 additions and 4 deletions
|
@ -54,7 +54,6 @@
|
|||
#include "gamehud.h"
|
||||
|
||||
CVARD(Bool, hw_hightile, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG, "enable/disable hightile texture rendering")
|
||||
EXTERN_CVAR(Int, vid_preferbackend)
|
||||
bool hw_int_useindexedcolortextures;
|
||||
CUSTOM_CVARD(Bool, hw_useindexedcolortextures, false, CVAR_ARCHIVE | CVAR_GLOBALCONFIG, "enable/disable indexed color texture rendering")
|
||||
{
|
||||
|
@ -99,7 +98,7 @@ void GLInstance::DoDraw()
|
|||
|
||||
if (rendercommands.Size() > 0)
|
||||
{
|
||||
if (!useMapFog && vid_preferbackend != 3) hw_int_useindexedcolortextures = hw_useindexedcolortextures;
|
||||
if (!useMapFog) hw_int_useindexedcolortextures = hw_useindexedcolortextures;
|
||||
|
||||
lastState.Flags = ~rendercommands[0].StateFlags; // Force ALL flags to be considered 'changed'.
|
||||
lastState.DepthFunc = INT_MIN; // Something totally invalid.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue