mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 08:40:55 +00:00
Print out the attribs a context is created with
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user