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:
Jonas Ådahl
2020-10-12 22:58:01 +02:00
committed by Georges Basile Stavracas Neto
parent 4edcc21a5c
commit e720ef1ceb
2 changed files with 17 additions and 17 deletions

View File

@ -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,