diff --git a/renderdoc/hooks/gl_win32_hooks.cpp b/renderdoc/hooks/gl_win32_hooks.cpp index 0a9d24a43..e48478a2d 100644 --- a/renderdoc/hooks/gl_win32_hooks.cpp +++ b/renderdoc/hooks/gl_win32_hooks.cpp @@ -437,6 +437,15 @@ class OpenGLHook : LibraryHook attribs = &attribVec[0]; } + + RDCDEBUG("wglCreateContextAttribsARB:"); + + int *a = (int *)attribs; + while(*a) + { + RDCDEBUG("%x: %d", a[0], a[1]); + a += 2; + } HGLRC ret = glhooks.wglCreateContextAttribsARB_realfunc(dc, hShareContext, attribs);