[PATCH v2 2/3] gl: Make _cairo_gl_ensure_framebuffer a private shared routine

Bryce Harrington <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
Signed-off-by: Bryce Harrington <[email protected]>
---
 src/cairo-gl-device.c  | 2 +-
 src/cairo-gl-private.h | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/cairo-gl-device.c b/src/cairo-gl-device.c
index c6aba43..2f56a5f 100644
--- a/src/cairo-gl-device.c
+++ b/src/cairo-gl-device.c
@@ -381,7 +381,7 @@ _cairo_gl_ensure_msaa_gles_framebuffer (cairo_gl_context_t *ctx,
 }
 #endif
 
-static void
+void
 _cairo_gl_ensure_framebuffer (cairo_gl_context_t *ctx,
                               cairo_gl_surface_t *surface)
 {
diff --git a/src/cairo-gl-private.h b/src/cairo-gl-private.h
index b6d236c..b2d8545 100644
--- a/src/cairo-gl-private.h
+++ b/src/cairo-gl-private.h
@@ -801,6 +801,10 @@ _cairo_gl_composite_glyphs_with_clip (void			    *_dst,
 				      cairo_composite_glyphs_info_t *info,
 				      cairo_clip_t		    *clip);
 
+cairo_private void
+_cairo_gl_ensure_framebuffer (cairo_gl_context_t *ctx,
+                              cairo_gl_surface_t *surface);
+
 cairo_private cairo_surface_t *
 _cairo_gl_surface_create_scratch (cairo_gl_context_t   *ctx,
 				  cairo_content_t	content,
-- 
2.7.4

-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.