Example #1
0
static bool
test_transform_feedback_prim(GLenum tf_prim, const char *tf_name)
{
	bool pass = true;
	int i;

	glBeginTransformFeedbackEXT(tf_prim);
	for (i = 0; i < ARRAY_SIZE(prims); i++) {
		pass = pass && test_one_prim(tf_prim, tf_name, i);
	}
	glEndTransformFeedbackEXT();

	return pass;
}
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTTransformFeedback_glEndTransformFeedbackEXT(JNIEnv *__env, jclass clazz) {
    glEndTransformFeedbackEXTPROC glEndTransformFeedbackEXT = (glEndTransformFeedbackEXTPROC)tlsGetFunction(1829);
    UNUSED_PARAM(clazz)
    glEndTransformFeedbackEXT();
}
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTTransformFeedback_nglEndTransformFeedbackEXT(JNIEnv *env, jclass clazz, jlong function_pointer) {
	glEndTransformFeedbackEXTPROC glEndTransformFeedbackEXT = (glEndTransformFeedbackEXTPROC)((intptr_t)function_pointer);
	glEndTransformFeedbackEXT();
}