Normand Briere
2019-09-24 767be784dc7fe293bf5c5ee6507df242526be3ed
GLShapeDrawer.java
....@@ -142,7 +142,7 @@
142142
143143 //System.out.println("shape="+shape+" type="+BroadphaseNativeTypes.forValue(shape.getShapeType()));
144144
145
- GL gl = display.GetGL();
145
+ GL gl = display.GetGL0();
146146
147147 gl.glPushMatrix();
148148 trans.getOpenGLMatrix(glMat);
....@@ -552,7 +552,7 @@
552552
553553 static public void drawSphere(iCameraPane display, float radius, int slices, int stacks)
554554 {
555
- GL gl = display.GetGL();
555
+ GL gl = display.GetGL0();
556556
557557 sphereKey.radius = radius;
558558 Integer glList = sphereDisplayLists.get(sphereKey);
....@@ -624,7 +624,7 @@
624624
625625 static public void drawCylinder(iCameraPane display, float radius, float halfHeight, int upAxis)
626626 {
627
- GL gl = display.GetGL();
627
+ GL gl = display.GetGL0();
628628
629629 gl.glPushMatrix();
630630 switch (upAxis)