Browse Source

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.
pull/2/head
Gleb Mazovetskiy 4 years ago committed by Alibek Omarov
parent
commit
69e15e9c7b
  1. 4
      engine/common/com_strings.h
  2. 2
      ref_gl/wscript

4
engine/common/com_strings.h

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

2
ref_gl/wscript

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

Loading…
Cancel
Save