Permalink
Browse files

Fixed the DebugProc signatures.

The various DebugProc* delegates now conform to their specifications.
  • Loading branch information...
1 parent f57b53b commit 816f1e5c7f64fbfc4200f0ad184c123b469268eb @thefiddler committed Oct 26, 2013
Showing with 16 additions and 9 deletions.
  1. +16 −9 Source/OpenTK/Graphics/OpenGL/GLHelper.cs
View
25 Source/OpenTK/Graphics/OpenGL/GLHelper.cs
@@ -1655,13 +1655,20 @@ public static void ProgramParameter(UInt32 program, ExtGeometryShader4 pname, In
public delegate void DebugProcAmd(int id,
AmdDebugOutput category, AmdDebugOutput severity,
- IntPtr length, string message, IntPtr userParam);
-
- public delegate void DebugProcArb(int id,
- ArbDebugOutput category, ArbDebugOutput severity,
- IntPtr length, string message, IntPtr userParam);
-
- public delegate void DebugProc(int id,
- ArbDebugOutput category, ArbDebugOutput severity,
- IntPtr length, string message, IntPtr userParam);
+ int length, IntPtr message, IntPtr userParam);
+
+ public delegate void DebugProcArb(
+ DebugSource source, DebugType type, int id,
+ DebugSeverity severity, int length, IntPtr message,
+ IntPtr userParam);
+
+ public delegate void DebugProc(
+ DebugSource source, DebugType type, int id,
+ DebugSeverity severity, int length, IntPtr message,
+ IntPtr userParam);
+
+ public delegate void DebugProcKhr(
+ DebugSource source, DebugType type, int id,
+ DebugSeverity severity, int length, IntPtr message,
+ IntPtr userParam);
}

0 comments on commit 816f1e5

Please sign in to comment.