GLRenderer: applied 080255f51860d6803b88c0c91206a0c6c42da5f4 to FrameBuffer textures as well

This commit is contained in:
shadowislord 2015-03-18 23:19:43 -04:00
parent d6a19c4c66
commit 3a83ab4c69

View File

@ -1542,13 +1542,7 @@ public class GLRenderer implements Renderer {
setTexture(0, rb.getTexture());
int textureType = convertTextureType(tex.getType(), tex.getImage().getMultiSamples(), rb.getFace());
if (gl2 != null) {
gl2.glEnable(textureType);
}
glfbo.glGenerateMipmapEXT(textureType);
if (gl2 != null) {
gl2.glDisable(textureType);
}
}
}
}