Code example for GL10

Methods: glGetError

0
    public void glGenTextures(int n, IntBuffer textures) {
        mgl.glGenTextures(n, textures);
    } 
 
    public int glGetError() { 
        int result = mgl.glGetError();
        return result;
    } 
 
    public void glGetIntegerv(int pname, int[] params, int offset) {
        mgl.glGetIntegerv(pname, params, offset);
    } 
 
    public void glGetIntegerv(int pname, IntBuffer params) {
        mgl.glGetIntegerv(pname, params);
    } 
 
    public String glGetString(int name) {
        String result = mgl.glGetString(name);
        return result;
    }