116f03928743b01638419874e2b6300b52da6eb4cJesse Hall/* void glBindVertexBuffer ( GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride ) */ 216f03928743b01638419874e2b6300b52da6eb4cJesse Hallstatic void 316f03928743b01638419874e2b6300b52da6eb4cJesse Hallandroid_glBindVertexBuffer__IIJI 416f03928743b01638419874e2b6300b52da6eb4cJesse Hall (JNIEnv *_env, jobject _this, jint bindingindex, jint buffer, jlong offset, jint stride) { 516f03928743b01638419874e2b6300b52da6eb4cJesse Hall if (sizeof(GLintptr) != sizeof(jlong) && (offset < LONG_MIN || offset > LONG_MAX)) { 616f03928743b01638419874e2b6300b52da6eb4cJesse Hall jniThrowException(_env, "java/lang/IllegalArgumentException", "offset too large"); 716f03928743b01638419874e2b6300b52da6eb4cJesse Hall return; 816f03928743b01638419874e2b6300b52da6eb4cJesse Hall } 916f03928743b01638419874e2b6300b52da6eb4cJesse Hall glBindVertexBuffer( 1016f03928743b01638419874e2b6300b52da6eb4cJesse Hall (GLuint)bindingindex, 1116f03928743b01638419874e2b6300b52da6eb4cJesse Hall (GLuint)buffer, 1216f03928743b01638419874e2b6300b52da6eb4cJesse Hall (GLintptr)offset, 1316f03928743b01638419874e2b6300b52da6eb4cJesse Hall (GLsizei)stride 1416f03928743b01638419874e2b6300b52da6eb4cJesse Hall ); 1516f03928743b01638419874e2b6300b52da6eb4cJesse Hall} 16