mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-22 02:09:06 +00:00
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:
parent
fe02833f13
commit
60632fda6f
3 changed files with 10 additions and 33 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue