OpenGL ES 2 buildfix again.

Sorry.
This commit is contained in:
Unknown W. Brackets 2013-02-10 18:20:34 -08:00
parent 4807a0b886
commit 7b9e90d434

View file

@ -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++) {