forked from mirrors/kolyah35-minecraft-pe-0.6.1
some improvements
This commit is contained in:
parent
f0617a5d22
commit
a86d333478
11 changed files with 49 additions and 31 deletions
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
/*static*/ int Textures::textureChanges = 0;
|
||||
/*static*/ bool Textures::MIPMAP = false;
|
||||
const TextureId Textures::InvalidId = -1;
|
||||
|
||||
Textures::Textures( Options* options_, AppPlatform* platform_ )
|
||||
: clamp(false),
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ private:
|
|||
public:
|
||||
static bool MIPMAP;
|
||||
static int textureChanges;
|
||||
static const TextureId InvalidId = -1;
|
||||
static const TextureId InvalidId;
|
||||
|
||||
private:
|
||||
TextureMap idMap;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
#include "../Options.h"
|
||||
|
||||
// Android should always run OPENGL_ES
|
||||
#if defined(ANDROID) || defined(__APPLE__) || defined(RPI)
|
||||
#if defined(ANDROID) || defined(__APPLE__) || defined(PLATFORM_DESKTOP)
|
||||
#define OPENGL_ES
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue