/// <summary> /// Applications can listen for messages by providing the GL with a callback function pointer. /// </summary> /// <param name="callback">Specifying zero as the value of callback clears the current callback and disables message output through callbacks.</param> public static void DebugMessageCallbackAMD(DebugMessageDelegateAMD callback) { //Delegates.glDebugMessageCallbackAMD(callback, IntPtr.Zero); Delegates.glDebugMessageCallbackAMD(callback, IntPtr.Zero); }
/// <summary> /// Applications can listen for messages by providing the GL with a callback function pointer. /// </summary> /// <param name="callback">Specifying zero as the value of callback clears the current callback and disables message output through callbacks.</param> /// <param name="userParam">The context will store this pointer and will include it as one of the parameters of each call to the callback function.</param> public static void DebugMessageCallbackAMD(DebugMessageDelegateAMD callback, IntPtr userParam) { //Delegates.glDebugMessageCallbackAMD(callback, userParam); Delegates.glDebugMessageCallbackAMD(callback, userParam); }