mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-02 14:42:32 +00:00
Disabled truecolor software renderer on PowerPC by default
Performance on such old hardware is not acceptable
This commit is contained in:
parent
ab8759049d
commit
6fb1689d02
1 changed files with 7 additions and 1 deletions
|
@ -125,7 +125,13 @@ EXTERN_CVAR(Bool, ticker )
|
||||||
EXTERN_CVAR(Bool, vid_vsync)
|
EXTERN_CVAR(Bool, vid_vsync)
|
||||||
EXTERN_CVAR(Bool, vid_hidpi)
|
EXTERN_CVAR(Bool, vid_hidpi)
|
||||||
|
|
||||||
CUSTOM_CVAR(Bool, swtruecolor, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL)
|
#if defined __ppc__ || defined __ppc64__
|
||||||
|
static const bool TRUECOLOR_DEFAULT = false;
|
||||||
|
#else // other than PowerPC
|
||||||
|
static const bool TRUECOLOR_DEFAULT = true;
|
||||||
|
#endif // PowerPC
|
||||||
|
|
||||||
|
CUSTOM_CVAR(Bool, swtruecolor, TRUECOLOR_DEFAULT, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL)
|
||||||
{
|
{
|
||||||
// Strictly speaking this doesn't require a mode switch, but it is the easiest
|
// Strictly speaking this doesn't require a mode switch, but it is the easiest
|
||||||
// way to force a CreateFramebuffer call without a lot of refactoring.
|
// way to force a CreateFramebuffer call without a lot of refactoring.
|
||||||
|
|
Loading…
Reference in a new issue