Fix missing glPatchParameter and another syntax error
This commit is contained in:
parent
5b95f8a4b0
commit
a6c71c4f50
@ -7,11 +7,13 @@ public class GLDebugDesktop extends GLDebugES implements GL2, GL3, GL4 {
|
||||
|
||||
private final GL2 gl2;
|
||||
private final GL3 gl3;
|
||||
private final GL4 gl4;
|
||||
|
||||
public GLDebugDesktop(GL gl, GLExt glext, GLFbo glfbo) {
|
||||
super(gl, glext, glfbo);
|
||||
this.gl2 = gl instanceof GL2 ? (GL2) gl : null;
|
||||
this.gl3 = gl instanceof GL3 ? (GL3) gl : null;
|
||||
this.gl4 = gl instanceof GL4 ? (GL4) gl : null;
|
||||
}
|
||||
|
||||
public void glAlphaFunc(int func, float ref) {
|
||||
@ -87,4 +89,9 @@ public class GLDebugDesktop extends GLDebugES implements GL2, GL3, GL4 {
|
||||
checkError();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void glPatchParameter(int count) {
|
||||
gl4.glPatchParameter(count);
|
||||
checkError();
|
||||
}
|
||||
}
|
||||
|
@ -56,6 +56,7 @@ import com.jme3.util.BufferUtils;
|
||||
import com.jme3.util.ListMap;
|
||||
import com.jme3.util.NativeObjectManager;
|
||||
import java.nio.*;
|
||||
import java.util.Arrays;
|
||||
import java.util.EnumMap;
|
||||
import java.util.EnumSet;
|
||||
import java.util.HashSet;
|
||||
|
Loading…
x
Reference in New Issue
Block a user