engine: ref: try to bruteforce all available renderers if we're failed to load requested one

This commit is contained in:
Alibek Omarov
2021-01-02 04:47:35 +03:00
parent 5b8d504817
commit 766ef84af4
2 changed files with 13 additions and 9 deletions

View File

@@ -65,6 +65,7 @@ GNU General Public License for more details.
#define XASH_ENGINE_NAME "Xash3D FWGS"
// renderers order is important, software is always a last chance fallback
#define DEFAULT_RENDERERS { "gl", "gles1", "gles2", "gl4es", "soft" }
#define DEFAULT_RENDERERS_LEN 5