Commit ac8ee44d authored by nadro's avatar nadro

- Removed workaround for old Catalyst drivers (this driver bug it's fixed since few years).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5160 dfc29bdd-3216-0410-991c-e03cc46cb475
parent bbe83e3f
...@@ -798,7 +798,6 @@ void COpenGLTexture::regenerateMipMapLevels(void* mipmapData) ...@@ -798,7 +798,6 @@ void COpenGLTexture::regenerateMipMapLevels(void* mipmapData)
// hardware moethods for generate mipmaps. // hardware moethods for generate mipmaps.
if (!mipmapData && AutomaticMipmapUpdate && !MipmapLegacyMode) if (!mipmapData && AutomaticMipmapUpdate && !MipmapLegacyMode)
{ {
glEnable(GL_TEXTURE_2D);
Driver->extGlGenerateMipmap(GL_TEXTURE_2D); Driver->extGlGenerateMipmap(GL_TEXTURE_2D);
cacheHandler->TextureCache.set(0, prevTexture); cacheHandler->TextureCache.set(0, prevTexture);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment