Print out the attribs a context is created with

This commit is contained in:
baldurk
2014-12-11 22:39:35 +00:00
parent c8e29488ef
commit 12af78d535
+9
View File
@@ -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);