Stores the current viewport in v
.
Use cogl_framebuffer_get_viewport4fv
instead
v
[0] and v
[1] get the x and y position of the viewport and v
[2] and v
[3] get the
width and height.
v |
pointer to a 4 element array of |