Skip to content

GLES Support

mittorn edited this page Sep 9, 2016 · 1 revision

If you want to use Xash3D on GL ES capable device (i.e Raspberry PI), you may built-in NanoGL wrapper.

To add it, clone nanogl repo to engine folder and build xash3d it with NANOGL=1, it will include NanoGL to binary

git clone https://github.com/FWGS/xash3d
cd xash3d/engine
git clone https://github.com/FWGS/nanogl
make -f Makefile.linux NANOGL=1

Note that SDL2 usually should be built with disabled opengl support (only OpenGL ES should be enabled due to some SDL2 bug)