From 11b85ab2fc944c0645df43180a6c7e2d6a06483a Mon Sep 17 00:00:00 2001 From: Michel Dänzer Date: Wed, 24 Dec 2014 11:46:46 +0900 Subject: glamor: Make glamor_purge_fbo static MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only called from glamor_fbo.c now. Signed-off-by: Michel Dänzer Reviewed-by: Keith Packard Signed-off-by: Keith Packard --- glamor/glamor_fbo.c | 2 +- glamor/glamor_priv.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'glamor') diff --git a/glamor/glamor_fbo.c b/glamor/glamor_fbo.c index d2aabb21c..8d73e4765 100644 --- a/glamor/glamor_fbo.c +++ b/glamor/glamor_fbo.c @@ -126,7 +126,7 @@ glamor_pixmap_fbo_cache_get(glamor_screen_private *glamor_priv, #endif } -void +static void glamor_purge_fbo(glamor_pixmap_fbo *fbo) { glamor_make_current(fbo->glamor_priv); diff --git a/glamor/glamor_priv.h b/glamor/glamor_priv.h index ffd327e13..f69949790 100644 --- a/glamor/glamor_priv.h +++ b/glamor/glamor_priv.h @@ -653,7 +653,6 @@ glamor_pixmap_fbo *glamor_create_fbo(glamor_screen_private *glamor_priv, int w, int h, GLenum format, int flag); void glamor_destroy_fbo(glamor_pixmap_fbo *fbo); void glamor_pixmap_destroy_fbo(glamor_pixmap_private *priv); -void glamor_purge_fbo(glamor_pixmap_fbo *fbo); void glamor_init_pixmap_fbo(ScreenPtr screen); void glamor_fini_pixmap_fbo(ScreenPtr screen); -- cgit v1.2.3