From 767be784dc7fe293bf5c5ee6507df242526be3ed Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Tue, 24 Sep 2019 02:10:06 -0400 Subject: [PATCH] Rag doll is back. --- GLShapeDrawer.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/GLShapeDrawer.java b/GLShapeDrawer.java index 38fb421..ccf72d9 100644 --- a/GLShapeDrawer.java +++ b/GLShapeDrawer.java @@ -142,7 +142,7 @@ //System.out.println("shape="+shape+" type="+BroadphaseNativeTypes.forValue(shape.getShapeType())); - GL gl = display.GetGL(); + GL gl = display.GetGL0(); gl.glPushMatrix(); trans.getOpenGLMatrix(glMat); @@ -552,7 +552,7 @@ static public void drawSphere(iCameraPane display, float radius, int slices, int stacks) { - GL gl = display.GetGL(); + GL gl = display.GetGL0(); sphereKey.radius = radius; Integer glList = sphereDisplayLists.get(sphereKey); @@ -624,7 +624,7 @@ static public void drawCylinder(iCameraPane display, float radius, float halfHeight, int upAxis) { - GL gl = display.GetGL(); + GL gl = display.GetGL0(); gl.glPushMatrix(); switch (upAxis) -- Gitblit v1.6.2