2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 09:56:22 +01:00

defaults: specify two default renderers, one is accelerated, second is software

This commit is contained in:
Alibek Omarov 2019-07-28 00:10:55 +03:00
parent b1f23f9ff6
commit 147c702f2f

View File

@ -145,13 +145,17 @@ Default build-depended cvar and constant values
#define DEFAULT_FULLSCREEN 1
#endif
#ifndef DEFAULT_RENDERER
#ifndef DEFAULT_ACCELERATED_RENDERER
#ifdef __ANDROID__
#define DEFAULT_RENDERER "gles1"
#define DEFAULT_ACCELERATED_RENDERER "gles1"
#else
#define DEFAULT_RENDERER "gl"
#define DEFAULT_ACCELERATED_RENDERER "gl"
#endif
#endif
#endif // DEFAULT_ACCELERATED_RENDERER
#ifndef DEFAULT_SOFTWARE_RENDERER
#define DEFAULT_SOFTWARE_RENDERER "soft" // mittorn's ref_soft
#endif // DEFAULT_SOFTWARE_RENDERER
#if TARGET_OS_IPHONE
#define DEFAULT_CON_MAXFRAC "0.5"