summaryrefslogtreecommitdiff
path: root/gdk/gdkglcontext.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2014-10-27 16:33:37 +0100
committerAlexander Larsson <alexl@redhat.com>2014-10-27 16:33:37 +0100
commit3013997e234d86dcdaa212c50d4b263c44a7c416 (patch)
tree584ae883d2b16cbe0f8ba87716d9024a78557454 /gdk/gdkglcontext.c
parentf1fe70e4adfa468c081bfb9d1d57364ef02496d8 (diff)
downloadgtk+-3013997e234d86dcdaa212c50d4b263c44a7c416.tar.gz
Rename gdk_gl_context_flush_buffer to gdk_gl_context_end_frame
This makes a lot more sense.
Diffstat (limited to 'gdk/gdkglcontext.c')
-rw-r--r--gdk/gdkglcontext.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c
index 1fba34d507..1bfb17f7e7 100644
--- a/gdk/gdkglcontext.c
+++ b/gdk/gdkglcontext.c
@@ -242,7 +242,7 @@ gdk_gl_context_get_visual (GdkGLContext *context)
}
/*< private >
- * gdk_gl_context_flush_buffer:
+ * gdk_gl_context_end_frame:
* @context: a #GdkGLContext
* @painted: The area that has been redrawn this frame
* @damage: The area that we know is actually different from the last frame
@@ -256,13 +256,13 @@ gdk_gl_context_get_visual (GdkGLContext *context)
* Since: 3.16
*/
void
-gdk_gl_context_flush_buffer (GdkGLContext *context,
- cairo_region_t *painted,
- cairo_region_t *damage)
+gdk_gl_context_end_frame (GdkGLContext *context,
+ cairo_region_t *painted,
+ cairo_region_t *damage)
{
g_return_if_fail (GDK_IS_GL_CONTEXT (context));
- GDK_GL_CONTEXT_GET_CLASS (context)->flush_buffer (context, painted, damage);
+ GDK_GL_CONTEXT_GET_CLASS (context)->end_frame (context, painted, damage);
}
/**