2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-12-23 09:16:04 +01:00

gl4es: Fix so name and add to renderer collector

1. `libref_gles2_gl4es.so` -> `libref_gl4es.so` because this is what's
    passed to `R_LoadRenderer`.

2. Add `gl4es` to `DEFAULT_RENDERERS` so that `R_CollectRendererNames`
   finds it.
This commit is contained in:
Gleb Mazovetskiy 2020-12-28 11:12:24 +00:00 committed by Alibek Omarov
parent 9e1170fc56
commit 69e15e9c7b
2 changed files with 3 additions and 3 deletions

View File

@ -65,7 +65,7 @@ GNU General Public License for more details.
#define XASH_ENGINE_NAME "Xash3D FWGS"
#define DEFAULT_RENDERERS { "gl", "gles1", "gles2", "soft" }
#define DEFAULT_RENDERERS_LEN 4
#define DEFAULT_RENDERERS { "gl", "gles1", "gles2", "gl4es", "soft" }
#define DEFAULT_RENDERERS_LEN 5
#endif//COM_STRINGS_H

View File

@ -118,7 +118,7 @@ def build(bld):
bld.shlib(
source = source,
target = 'ref_gles2_gl4es',
target = 'ref_gl4es',
features = 'c',
includes = includes,
use = libs + ['DL', 'gl4es', 'LOG'],