GLRenderer: applied 080255f518 to FrameBuffer textures as well

experimental
shadowislord 10 years ago
parent d6a19c4c66
commit 3a83ab4c69
  1. 6
      jme3-core/src/main/java/com/jme3/renderer/opengl/GLRenderer.java

@ -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);
}
}
}
}

Loading…
Cancel
Save