]> git.cworth.org Git - apitrace/commitdiff
Add APIENTRY call convention to debug output callback.
authorJames Benton <jbenton@vmware.com>
Thu, 9 Aug 2012 16:14:01 +0000 (17:14 +0100)
committerJames Benton <jbenton@vmware.com>
Thu, 9 Aug 2012 16:14:01 +0000 (17:14 +0100)
retrace/glretrace_main.cpp

index f9d61e05713384df80eed73cf7924b002ad2063b..a10f9c2302aba55e1785e8fb28aaf7fcff04840b 100644 (file)
@@ -344,7 +344,7 @@ getDebugOutputSeverity(GLenum severity) {
     }
 }
 
-static void
+static void APIENTRY
 debugOutputCallback(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, GLvoid* userParam) {
     std::cerr << retrace::callNo << ": ";
     std::cerr << "glDebugOutputCallback: ";