1/* GLvoid * glMapBufferRange ( GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access ) */
2static jobject
3android_glMapBufferRange__IIII
4  (JNIEnv *_env, jobject _this, jint target, jint offset, jint length, jint access) {
5    GLvoid* _p = glMapBufferRange((GLenum)target,
6            (GLintptr)offset, (GLsizeiptr)length, (GLbitfield)access);
7    jobject _buf = (jobject)0;
8    if (_p) {
9        _buf = _env->NewDirectByteBuffer(_p, length);
10    }
11    return _buf;
12}
13
14