Fix issue 1883, OpenGL 2.x doesn't have glGenerateMipmap

This commit is contained in:
erwincoumans
2018-12-22 11:42:29 -08:00
parent fb2baa81d6
commit 5e08808e69

View File

@@ -436,7 +436,7 @@ void SimpleOpenGL2Renderer::updateTexture(int textureIndex, const unsigned char*
}
b3Assert(glGetError() == GL_NO_ERROR);
glGenerateMipmap(GL_TEXTURE_2D);
//glGenerateMipmap(GL_TEXTURE_2D);
b3Assert(glGetError() == GL_NO_ERROR);
}
}