Replace GL11 with GlStateManager, good bit of testing still needed

This commit is contained in:
pupnewfster committed 2019-07-08 11:45:10 -04:00
1 parent be268b5f87
commit de1bd30f38
111 files changed
+342 -378

No files matched your search

@@ -130,7 +130,7 @@ public class RenderResizableCuboid {
*/
public void renderCubeFromCentre(Model3D cuboid) {
GlStateManager.pushMatrix();
GL11.glTranslated(-cuboid.sizeX() / 2d, -cuboid.sizeY() / 2d, -cuboid.sizeZ() / 2d);
GlStateManager.translate(-cuboid.sizeX() / 2d, -cuboid.sizeY() / 2d, -cuboid.sizeZ() / 2d);
renderCube(cuboid, EnumShadeArgument.NONE, null, null, null);
GlStateManager.popMatrix();
}