mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Don't set GL_TEXTURE_MAX_LEVEL for GLES2.
This commit is contained in:
parent
b14086911c
commit
47719e3ce3
|
@ -1098,7 +1098,9 @@ void TextureCache::activateTexture(u32 _t, CachedTexture *_pTexture)
|
|||
const bool bUseLOD = currentCombiner()->usesLOD();
|
||||
const GLint texLevel = bUseLOD ? _pTexture->max_level : 0;
|
||||
|
||||
#ifndef GLES2
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, texLevel);
|
||||
#endif
|
||||
if (config.texture.bilinearMode == BILINEAR_STANDARD) {
|
||||
if (bUseBilinear) {
|
||||
if (texLevel > 0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user