diff --git a/src/posix/cocoa/i_video.mm b/src/posix/cocoa/i_video.mm index 14120a59b..67f23fc5a 100644 --- a/src/posix/cocoa/i_video.mm +++ b/src/posix/cocoa/i_video.mm @@ -125,7 +125,13 @@ EXTERN_CVAR(Bool, ticker ) EXTERN_CVAR(Bool, vid_vsync) 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 // way to force a CreateFramebuffer call without a lot of refactoring.