[PATCH] glamor: Make glamor_purge_fbo static

Michel Dänzer michel at daenzer.net
Tue Dec 23 18:46:46 PST 2014


From: Michel Dänzer <michel.daenzer at amd.com>

Only called from glamor_fbo.c now.

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
 glamor/glamor_fbo.c  | 2 +-
 glamor/glamor_priv.h | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/glamor/glamor_fbo.c b/glamor/glamor_fbo.c
index d2aabb2..8d73e47 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 ffd327e..f699497 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);
-- 
2.1.3



More information about the xorg-devel mailing list