mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
OpenGL ES 2 buildfix again.
Sorry.
This commit is contained in:
parent
4807a0b886
commit
7b9e90d434
1 changed files with 1 additions and 1 deletions
|
@ -843,7 +843,7 @@ void TextureCache::SetTexture() {
|
|||
// As is usual, GLES3 will solve this problem nicely but wide distribution of that is
|
||||
// years away.
|
||||
LoadTextureLevel(*entry, 0);
|
||||
if (entry.maxLevel > 0)
|
||||
if (entry->maxLevel > 0)
|
||||
glGenerateMipmap(GL_TEXTURE_2D);
|
||||
#else
|
||||
for (int i = 0; i <= entry->maxLevel; i++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue