cogl/framebuffer: Fix argument naming to blit_framebuffer()
The first argument is the framebuffer operated on, so in order to stay consistest, rename 'src' to 'framebuffer'. The second is the destination. The destination is commonly referred to as 'dst' elsewhere, so rename 'dest' to 'dst'. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1496
This commit is contained in:

committed by
Georges Basile Stavracas Neto

parent
4edcc21a5c
commit
e720ef1ceb
@ -1495,8 +1495,8 @@ cogl_is_framebuffer (void *object);
|
||||
|
||||
/**
|
||||
* cogl_blit_framebuffer:
|
||||
* @src: The source #CoglFramebuffer
|
||||
* @dest: The destination #CoglFramebuffer
|
||||
* @framebuffer: The source #CoglFramebuffer
|
||||
* @dst: The destination #CoglFramebuffer
|
||||
* @src_x: Source x position
|
||||
* @src_y: Source y position
|
||||
* @dst_x: Destination x position
|
||||
@ -1546,8 +1546,8 @@ cogl_is_framebuffer (void *object);
|
||||
* COGL_SYSTEM_ERROR will be created.
|
||||
*/
|
||||
COGL_EXPORT gboolean
|
||||
cogl_blit_framebuffer (CoglFramebuffer *src,
|
||||
CoglFramebuffer *dest,
|
||||
cogl_blit_framebuffer (CoglFramebuffer *framebuffer,
|
||||
CoglFramebuffer *dst,
|
||||
int src_x,
|
||||
int src_y,
|
||||
int dst_x,
|
||||
|
Reference in New Issue
Block a user