mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
framebuffer: Annotate the output parameter of get_viewport4fv()
Annotate that the float* is an out parameter that points to a caller allocated array of 4 floats. Reviewed-by: Robert Bragg <robert@linux.intel.com> (cherry picked from commit f40b0d03d796c16c62f4937e99e16de084fc6b9a)
This commit is contained in:
parent
0866b90069
commit
f9c7e9d270
@ -240,7 +240,8 @@ cogl_framebuffer_get_viewport_height (CoglFramebuffer *framebuffer);
|
||||
/**
|
||||
* cogl_framebuffer_get_viewport4fv:
|
||||
* @framebuffer: A #CoglFramebuffer
|
||||
* @viewport: A pointer to an array of 4 floats to receive the (x, y, width, height)
|
||||
* @viewport: (out caller-allocates) (array fixed-size=4): A pointer to an
|
||||
* array of 4 floats to receive the (x, y, width, height)
|
||||
* components of the current viewport.
|
||||
*
|
||||
* Queries the x, y, width and height components of the current viewport as set
|
||||
|
Loading…
Reference in New Issue
Block a user