OpenGL ES2 buildfix.

Darn it.
This commit is contained in:
Unknown W. Brackets 2013-02-10 18:16:11 -08:00
parent 5ef520981a
commit 4807a0b886

View File

@ -842,7 +842,7 @@ void TextureCache::SetTexture() {
// For now, I choose to use autogen mips on GLES2 and the game's own on other platforms.
// As is usual, GLES3 will solve this problem nicely but wide distribution of that is
// years away.
LoadTextureLevel(entry, 0);
LoadTextureLevel(*entry, 0);
if (entry.maxLevel > 0)
glGenerateMipmap(GL_TEXTURE_2D);
#else