OpenGL: remove small optimization

This one was introduced to reduce the glBindTexture and glActiveTexture calls. But it was quite a bit of logic and only an improvment on uploading/creating a texture, which is done rarely.
This commit is contained in:
degasus
2014-01-21 10:34:48 +01:00
parent fe02833f13
commit 60632fda6f
3 changed files with 10 additions and 33 deletions

View File

@ -22,7 +22,6 @@ public:
TextureCache();
static void DisableStage(unsigned int stage);
static void SetStage();
static void SetNextStage(unsigned int stage);
private:
struct TCacheEntry : TCacheEntryBase
@ -36,8 +35,6 @@ private:
int gl_iformat;
int gl_type;
int m_tex_levels;
//TexMode0 mode; // current filter and clamp modes that texture is set to
//TexMode1 mode1; // current filter and clamp modes that texture is set to