mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 18:50:30 +00:00
improve texture mipmap count
GL_TEXTURE_MAX_LEVEL set how many mipmaps should be allocated, but all of them must be created. GL_TEXTURE_MAX_LOD set how many mipmaps may be used.
This commit is contained in:
parent
8a7f1e9264
commit
b778b86e26
2 changed files with 14 additions and 19 deletions
|
@ -46,7 +46,7 @@ private:
|
|||
int gl_iformat;
|
||||
int gl_type;
|
||||
|
||||
bool bHaveMipMaps;
|
||||
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