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 #define DEFAULT_FULLSCREEN 1
#endif #endif
#ifndef DEFAULT_RENDERER #ifndef DEFAULT_ACCELERATED_RENDERER
#ifdef __ANDROID__ #ifdef __ANDROID__
#define DEFAULT_RENDERER "gles1" #define DEFAULT_ACCELERATED_RENDERER "gles1"
#else #else
#define DEFAULT_RENDERER "gl" #define DEFAULT_ACCELERATED_RENDERER "gl"
#endif #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 #if TARGET_OS_IPHONE
#define DEFAULT_CON_MAXFRAC "0.5" #define DEFAULT_CON_MAXFRAC "0.5"