mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 19:40:43 -05:00
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
82ef6b51b9
commit
a6880643a0
@ -500,6 +500,7 @@ cogl_viewport (guint width,
|
|||||||
{
|
{
|
||||||
_COGL_GET_CONTEXT (ctx, NO_RETVAL);
|
_COGL_GET_CONTEXT (ctx, NO_RETVAL);
|
||||||
|
|
||||||
|
COGL_NOTE (MISC, "glViewport(0, 0, %u, %u)", width, height);
|
||||||
GE( glViewport (0, 0, width, height) );
|
GE( glViewport (0, 0, width, height) );
|
||||||
|
|
||||||
ctx->viewport_width = width;
|
ctx->viewport_width = width;
|
||||||
|
Loading…
Reference in New Issue
Block a user