mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
defaults: specify two default renderers, one is accelerated, second is software
This commit is contained in:
parent
b1f23f9ff6
commit
147c702f2f
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user