GLRenderer: applied 080255f51860d6803b88c0c91206a0c6c42da5f4 to FrameBuffer textures as well
This commit is contained in:
parent
d6a19c4c66
commit
3a83ab4c69
@ -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…
x
Reference in New Issue
Block a user