.. | .. |
---|
142 | 142 | |
---|
143 | 143 | //System.out.println("shape="+shape+" type="+BroadphaseNativeTypes.forValue(shape.getShapeType())); |
---|
144 | 144 | |
---|
145 | | - GL gl = display.GetGL(); |
---|
| 145 | + GL gl = display.GetGL0(); |
---|
146 | 146 | |
---|
147 | 147 | gl.glPushMatrix(); |
---|
148 | 148 | trans.getOpenGLMatrix(glMat); |
---|
.. | .. |
---|
552 | 552 | |
---|
553 | 553 | static public void drawSphere(iCameraPane display, float radius, int slices, int stacks) |
---|
554 | 554 | { |
---|
555 | | - GL gl = display.GetGL(); |
---|
| 555 | + GL gl = display.GetGL0(); |
---|
556 | 556 | |
---|
557 | 557 | sphereKey.radius = radius; |
---|
558 | 558 | Integer glList = sphereDisplayLists.get(sphereKey); |
---|
.. | .. |
---|
624 | 624 | |
---|
625 | 625 | static public void drawCylinder(iCameraPane display, float radius, float halfHeight, int upAxis) |
---|
626 | 626 | { |
---|
627 | | - GL gl = display.GetGL(); |
---|
| 627 | + GL gl = display.GetGL0(); |
---|
628 | 628 | |
---|
629 | 629 | gl.glPushMatrix(); |
---|
630 | 630 | switch (upAxis) |
---|