Skip to content

Instantly share code, notes, and snippets.

@JavadocMD
Created October 6, 2014 23:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JavadocMD/2960f8b1b714c369c4ca to your computer and use it in GitHub Desktop.
Save JavadocMD/2960f8b1b714c369c4ca to your computer and use it in GitHub Desktop.
KHRDebug.glDebugMessageCallback(new KHRDebugCallback(new KHRDebugCallback.Handler() {
override def handleMessage(source: Int, msgType: Int, id: Int, severity: Int, message: String) {
println("%d %d %d %d: %s".format(source, msgType, id, severity, message))
}
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment