Code example for GL10

Methods: glGetError

    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;
Connect your IDE to all the code out there  Get Codota for Java