Remove all calls to GlStateManager.pushAttrib() and pullAttrib() and a few other tweaks to gl calls, fixes #12, #46 and #47

This commit is contained in:
Electroblob
2018-06-03 12:39:25 +01:00
parent ee6f0cfe70
commit d4579b9184
3 changed files with 2 additions and 10 deletions
@@ -143,7 +143,6 @@ public abstract class ParticleCustomTexture extends Particle {
float rotationYZ, float rotationXY, float rotationXZ){
GlStateManager.pushMatrix();
GlStateManager.pushAttrib();
this.applyGLStateChanges();
@@ -193,7 +192,6 @@ public abstract class ParticleCustomTexture extends Particle {
this.undoGLStateChanges();
GlStateManager.popAttrib();
GlStateManager.popMatrix();
}