summaryrefslogtreecommitdiff
path: root/cogl/cogl-onscreen.h
diff options
context:
space:
mode:
Diffstat (limited to 'cogl/cogl-onscreen.h')
-rw-r--r--cogl/cogl-onscreen.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cogl/cogl-onscreen.h b/cogl/cogl-onscreen.h
index 990a7161..99a9365d 100644
--- a/cogl/cogl-onscreen.h
+++ b/cogl/cogl-onscreen.h
@@ -282,10 +282,12 @@ cogl_mir_onscreen_get_surface (CoglOnscreen *onscreen);
*
* This function must be called before @onscreen is allocated.
*
+ * Returns: whether @surface has been marked as been set as surface or not.
+ *
* Since: 1.18
* Stability: unstable
*/
-void
+CoglBool
cogl_mir_onscreen_set_foreign_surface (CoglOnscreen *onscreen,
struct MirSurface *surface);
#endif /* COGL_HAS_EGL_PLATFORM_MIR_SUPPORT */