mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Unify OpenGL ES support
This commit is contained in:
parent
526a9e4b66
commit
ca363d3ef8
8 changed files with 39 additions and 21 deletions
|
@ -27,8 +27,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include <SMaterial.h>
|
||||
#include <memory>
|
||||
#include "util/numeric.h"
|
||||
#include "config.h"
|
||||
|
||||
#if __ANDROID__
|
||||
#if ENABLE_GLES
|
||||
#include <IVideoDriver.h>
|
||||
#endif
|
||||
|
||||
|
@ -133,7 +134,7 @@ public:
|
|||
|
||||
IWritableTextureSource *createTextureSource();
|
||||
|
||||
#ifdef __ANDROID__
|
||||
#if ENABLE_GLES
|
||||
video::IImage * Align2Npot2(video::IImage * image, irr::video::IVideoDriver* driver);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue