diff options
author | Alexander Larsson <alexl@redhat.com> | 2014-10-30 12:22:08 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2014-10-30 12:43:03 +0100 |
commit | 398697eb2fcd25246b6d20bc78a678b1ab1bff3c (patch) | |
tree | 6136149096d75b83ba4e9e219ad37b0b35c04b9d /gdk/gdkgl.c | |
parent | f0ae8da99378adcd89587b5ce702de0a179753f2 (diff) | |
download | gtk+-398697eb2fcd25246b6d20bc78a678b1ab1bff3c.tar.gz |
Clarify docs for gdk_cairo_draw_from_gl
Diffstat (limited to 'gdk/gdkgl.c')
-rw-r--r-- | gdk/gdkgl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkgl.c b/gdk/gdkgl.c index a4b290a8f5..b24bb5d057 100644 --- a/gdk/gdkgl.c +++ b/gdk/gdkgl.c @@ -54,6 +54,8 @@ gdk_cairo_surface_mark_as_direct (cairo_surface_t *surface, * This is the main way to draw GL content in GTK+. It takes a render buffer ID * (@source_type == #GL_RENDERBUFFER) or a texture id (@source_type == #GL_TEXTURE) * and draws it onto @cr with an OVER operation, respecting the current clip. + * The top left corner of the rectangle specified by @x, @y, @width and @height + * will be drawn at the current (0,0) position of the cairo_t. * * This will work for *all* cairo_t, as long as @window is realized, but the * fallback implementation that reads back the pixels from the buffer may be |