some improvements

This commit is contained in:
Kolyah35
2026-03-02 23:17:13 +03:00
parent f0617a5d22
commit a86d333478
11 changed files with 49 additions and 31 deletions

View File

@@ -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),

View File

@@ -58,7 +58,7 @@ private:
public:
static bool MIPMAP;
static int textureChanges;
static const TextureId InvalidId = -1;
static const TextureId InvalidId;
private:
TextureMap idMap;

View File

@@ -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