List of usage examples for org.lwjgl.opengl KHRDebug glGetDebugMessageLog
@NativeType("GLuint") public static int glGetDebugMessageLog(@NativeType("GLuint") int count, @Nullable @NativeType("GLenum *") int[] sources, @Nullable @NativeType("GLenum *") int[] types, @Nullable @NativeType("GLuint *") int[] ids, @Nullable @NativeType("GLenum *") int[] severities, @Nullable @NativeType("GLsizei *") int[] lengths, @Nullable @NativeType("GLchar *") ByteBuffer messageLog)
From source file:tk.ivybits.engine.gl.GL.java
License:Open Source License
public static int glGetDebugMessageLog(int a, IntBuffer b, IntBuffer c, IntBuffer d, IntBuffer e, IntBuffer f, ByteBuffer g) {/*from w w w .j a va 2s .c om*/ return (GLContext.getCapabilities().GL_KHR_debug) ? KHRDebug.glGetDebugMessageLog(a, b, c, d, e, f, g) : -1; }