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