1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Unify OpenGL ES support

This commit is contained in:
sfan5 2019-07-25 00:01:25 +02:00
parent 526a9e4b66
commit ca363d3ef8
8 changed files with 39 additions and 21 deletions

View file

@ -39,9 +39,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "client/guiscalingfilter.h"
#include "irrlicht_changes/static_text.h"
#ifdef __ANDROID__
#if ENABLE_GLES
#include "client/tile.h"
#include <GLES/gl.h>
#endif
@ -78,7 +77,7 @@ video::ITexture *MenuTextureSource::getTexture(const std::string &name, u32 *id)
m_to_delete.insert(name);
#ifdef __ANDROID__
#if ENABLE_GLES
video::ITexture *retval = m_driver->findTexture(name.c_str());
if (retval)
return retval;