New EXT_framebuffer extensions
This commit is contained in:
parent
1c2910f60b
commit
9dfd46ba6f
|
@ -0,0 +1,12 @@
|
||||||
|
/* MACHINE GENERATED FILE, DO NOT EDIT */
|
||||||
|
|
||||||
|
#include <jni.h>
|
||||||
|
#include "extgl.h"
|
||||||
|
|
||||||
|
typedef void (APIENTRY *glBlitFramebufferEXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
|
||||||
|
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTFramebufferBlit_nglBlitFramebufferEXT(JNIEnv *env, jclass clazz, jint srcX0, jint srcY0, jint srcX1, jint srcY1, jint dstX0, jint dstY0, jint dstX1, jint dstY1, jint mask, jint filter, jlong function_pointer) {
|
||||||
|
glBlitFramebufferEXTPROC glBlitFramebufferEXT = (glBlitFramebufferEXTPROC)((intptr_t)function_pointer);
|
||||||
|
glBlitFramebufferEXT(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
/* MACHINE GENERATED FILE, DO NOT EDIT */
|
||||||
|
|
||||||
|
#include <jni.h>
|
||||||
|
#include "extgl.h"
|
||||||
|
|
||||||
|
typedef void (APIENTRY *glRenderbufferStorageMultisampleEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
|
||||||
|
|
||||||
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTFramebufferMultisample_nglRenderbufferStorageMultisampleEXT(JNIEnv *env, jclass clazz, jint target, jint samples, jint internalformat, jint width, jint height, jlong function_pointer) {
|
||||||
|
glRenderbufferStorageMultisampleEXTPROC glRenderbufferStorageMultisampleEXT = (glRenderbufferStorageMultisampleEXTPROC)((intptr_t)function_pointer);
|
||||||
|
glRenderbufferStorageMultisampleEXT(target, samples, internalformat, width, height);
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue