1 // C function void glDebugMessageCallback ( GLDEBUGPROC callback, const void *userParam ) 2 3 public interface DebugProc { onMessage(int source, int type, int id, int severity, String message)4 void onMessage(int source, int type, int id, int severity, String message); 5 } 6 glDebugMessageCallback(DebugProc callback)7 public static native void glDebugMessageCallback(DebugProc callback); 8 9