mirror of
https://github.com/GTNewHorizons/FindIt.git
synced 2026-11-24 18:24:21 +00:00
Fix GL leaks (#35)
This commit is contained in:
1 parent
b03be8e3a7
commit
5c78cd6e54
2 files changed
+8
-8
No files matched your search
@@ -49,13 +49,14 @@ public class ParticlePosition extends EntityReddustFX {
|
||||
float rotationYZ, float rotationXY, float rotationXZ) {
|
||||
tessellator.draw();
|
||||
|
||||
GL11.glPushAttrib(GL11.GL_ENABLE_BIT);
|
||||
GL11.glDisable(GL11.GL_DEPTH_TEST);
|
||||
|
||||
tessellator.startDrawingQuads();
|
||||
super.renderParticle(tessellator, partialTickTime, rotationX, rotationZ, rotationYZ, rotationXY, rotationXZ);
|
||||
tessellator.draw();
|
||||
|
||||
GL11.glEnable(GL11.GL_DEPTH_TEST);
|
||||
GL11.glPopAttrib();
|
||||
tessellator.startDrawingQuads();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user