Add debug notes for calls to glViewport()
In order to validate the sequence of: XResizeWindow ConfigureNotify glViewport that should happen on X11 we need to add debug annotations to the calls to glViewport() done through COGL.
This commit is contained in:
parent
3bab787103
commit
3726213291
@ -500,6 +500,7 @@ cogl_viewport (guint width,
|
||||
{
|
||||
_COGL_GET_CONTEXT (ctx, NO_RETVAL);
|
||||
|
||||
COGL_NOTE (MISC, "glViewport(0, 0, %u, %u)", width, height);
|
||||
GE( glViewport (0, 0, width, height) );
|
||||
|
||||
ctx->viewport_width = width;
|
||||
|
Loading…
Reference in New Issue
Block a user