|
13 | 13 | */ |
14 | 14 | package org.allbinary.opengles; |
15 | 15 |
|
16 | | -import com.jogamp.opengl.GL2; |
17 | 16 | import com.jogamp.opengl.GL; |
| 17 | +import com.jogamp.opengl.GL2; |
18 | 18 |
|
19 | 19 | /** |
20 | 20 | * |
@@ -42,9 +42,14 @@ public class JOGL11 extends JOGL10 implements javax.microedition.khronos.opengle |
42 | 42 |
|
43 | 43 | private final GL2 gl11; |
44 | 44 |
|
45 | | - public JOGL11(GL gl) |
| 45 | + public JOGL11(final GL gl) |
| 46 | + { |
| 47 | + this(gl, (com.jogamp.opengl.GL2) gl); |
| 48 | + } |
| 49 | + |
| 50 | + public JOGL11(final GL gl, final com.jogamp.opengl.GL2 gl2) |
46 | 51 | { |
47 | | - super(gl); |
| 52 | + super(gl, gl2); |
48 | 53 |
|
49 | 54 | //PreLogUtil.put(StringUtil.getInstance().EMPTY_STRING, this, commonStrings.CONSTRUCTOR); |
50 | 55 | this.gl11 = getJOGLGL(); |
@@ -83,13 +88,15 @@ public void glClipPlanef(int plane, float[] equation, int offset) |
83 | 88 | //stringBuilder.delete(0, stringBuilder.length()); |
84 | 89 | //PreLogUtil.put(stringBuilder.append("plane: ").append(plane).append(" equation: ").append(equation.length).toString(), this, "GL11.glClipPlanef"); |
85 | 90 | this.gl11.glClipPlanef(plane, equation, offset); |
| 91 | + //throw new RuntimeException(); |
86 | 92 | } |
87 | 93 |
|
88 | 94 | public void glClipPlanef(int plane, java.nio.FloatBuffer equation) |
89 | 95 | { |
90 | 96 | //stringBuilder.delete(0, stringBuilder.length()); |
91 | 97 | //PreLogUtil.put(stringBuilder.append("plane: ").append(plane).append(" equation: ").append(equation).toString(), this, "GL11.glClipPlanef"); |
92 | 98 | this.gl11.glClipPlanef(plane, equation); |
| 99 | + //throw new RuntimeException(); |
93 | 100 | } |
94 | 101 |
|
95 | 102 | // public void glClipPlanex(int plane, int[] equation, int offset) |
@@ -188,13 +195,15 @@ public void glGetClipPlanef(int pname, float[] eqn, int offset) |
188 | 195 | //stringBuilder.delete(0, stringBuilder.length()); |
189 | 196 | //PreLogUtil.put(stringBuilder.append(PNAME).append(pname).append(" eqn: ").append(eqn.length).toString(), this, "GL11.glGetClipPlanef"); |
190 | 197 | this.gl11.glGetClipPlanef(pname, eqn, offset); |
| 198 | + //throw new RuntimeException(); |
191 | 199 | } |
192 | 200 |
|
193 | 201 | public void glGetClipPlanef(int pname, java.nio.FloatBuffer eqn) |
194 | 202 | { |
195 | 203 | //stringBuilder.delete(0, stringBuilder.length()); |
196 | 204 | //PreLogUtil.put(stringBuilder.append(PNAME).append(pname).append(" eqn: ").append(eqn).toString(), this, "GL11.glGetClipPlanef"); |
197 | 205 | this.gl11.glGetClipPlanef(pname, eqn); |
| 206 | + //throw new RuntimeException(); |
198 | 207 | } |
199 | 208 |
|
200 | 209 | // public void glGetClipPlanex(int pname, int[] eqn, int offset) |
|
0 commit comments