summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce Harrington <bryce@osg.samsung.com>2015-03-18 15:49:41 -0700
committerBryce Harrington <bryce@osg.samsung.com>2015-03-18 15:49:41 -0700
commit904f1fdc1d7f13d4443bafd760db7395c5030ca7 (patch)
tree5b3173cef7fbc6eed11d9a5e80e7be3158f54c9f
parentb19b06c46318e2fe80e2c36175075d11bf4a04ee (diff)
surface: Clarify flush documentation
-rw-r--r--src/cairo-surface.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/cairo-surface.c b/src/cairo-surface.c
index 89345f593..bfe3fa106 100644
--- a/src/cairo-surface.c
+++ b/src/cairo-surface.c
@@ -1554,12 +1554,12 @@ _cairo_surface_flush (cairo_surface_t *surface, unsigned flags)
* cairo_surface_flush:
* @surface: a #cairo_surface_t
*
- * Do any pending drawing for the surface and also restore any
- * temporary modifications cairo has made to the surface's
- * state. This function must be called before switching from
- * drawing on the surface with cairo to drawing on it directly
- * with native APIs. If the surface doesn't support direct access,
- * then this function does nothing.
+ * Do any pending drawing for the surface and also restore any temporary
+ * modifications cairo has made to the surface's state. This function
+ * must be called before switching from drawing on the surface with
+ * cairo to drawing on it directly with native APIs, or accessing its
+ * memory outside of Cairo. If the surface doesn't support direct
+ * access, then this function does nothing.
*
* Since: 1.0
**/