Merge branch 'master-MC1.8' of github.com:MightyPirates/OpenComputers into OC1.5-MC1.8

This commit is contained in:
Florian Nücke 2015-02-20 02:31:33 +01:00
commit a8b8b82f96
3 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,6 @@ object TextBufferRenderCache extends Callable[Int] with RemovalListener[TileEnti
GL11.glEndList() GL11.glEndList()
RenderState.checkError(getClass.getName + ".compileOrDraw: glEndList") RenderState.checkError(getClass.getName + ".compileOrDraw: glEndList")
} }
RenderState.checkError(getClass.getName + ".compileOrDraw: leaving") RenderState.checkError(getClass.getName + ".compileOrDraw: leaving")
@ -71,6 +70,7 @@ object TextBufferRenderCache extends Callable[Int] with RemovalListener[TileEnti
} }
else { else {
GL11.glCallList(list) GL11.glCallList(list)
RenderState.bindTexture(0)
RenderState.checkError(getClass.getName + ".compileOrDraw: glCallList") RenderState.checkError(getClass.getName + ".compileOrDraw: glCallList")
} }

View File

@ -183,7 +183,7 @@ class ClassTransformer extends IClassTransformer {
// if (entity instanceof Drone) { // if (entity instanceof Drone) {
// d5 = 0.0; // d5 = 0.0;
// d6 = 0.0; // d6 = 0.0;
// d7 = -0.75; // d7 = -0.25;
// } // }
// before the `instanceof EntityHanging` check in func_110827_b. // before the `instanceof EntityHanging` check in func_110827_b.
if (ObfNames.Class_RenderLiving.contains(name.replace('.', '/'))) { if (ObfNames.Class_RenderLiving.contains(name.replace('.', '/'))) {
@ -202,7 +202,7 @@ class ClassTransformer extends IClassTransformer {
toInject.add(new VarInsnNode(Opcodes.DSTORE, 17)) toInject.add(new VarInsnNode(Opcodes.DSTORE, 17))
toInject.add(new LdcInsnNode(double2Double(0.0))) toInject.add(new LdcInsnNode(double2Double(0.0)))
toInject.add(new VarInsnNode(Opcodes.DSTORE, 19)) toInject.add(new VarInsnNode(Opcodes.DSTORE, 19))
toInject.add(new LdcInsnNode(double2Double(-0.75))) toInject.add(new LdcInsnNode(double2Double(-0.25)))
toInject.add(new VarInsnNode(Opcodes.DSTORE, 21)) toInject.add(new VarInsnNode(Opcodes.DSTORE, 21))
toInject.add(skip) toInject.add(skip)
instructions.insertBefore(varNode, toInject) instructions.insertBefore(varNode, toInject)