PBOs are only used at the whole pixmap level.

Signed-off-by: Eric Anholt <[email protected]>
---
 glamor/glamor_fbo.c  | 2 --
 glamor/glamor_priv.h | 2 --
 2 files changed, 4 deletions(-)

diff --git a/glamor/glamor_fbo.c b/glamor/glamor_fbo.c
index aedc804..5d59913 100644
--- a/glamor/glamor_fbo.c
+++ b/glamor/glamor_fbo.c
@@ -121,8 +121,6 @@ glamor_purge_fbo(glamor_screen_private *glamor_priv,
         glDeleteFramebuffers(1, &fbo->fb);
     if (fbo->tex)
         glDeleteTextures(1, &fbo->tex);
-    if (fbo->pbo)
-        glDeleteBuffers(1, &fbo->pbo);
 
     free(fbo);
 }
diff --git a/glamor/glamor_priv.h b/glamor/glamor_priv.h
index db0300c..7893ec0 100644
--- a/glamor/glamor_priv.h
+++ b/glamor/glamor_priv.h
@@ -348,7 +348,6 @@ enum glamor_fbo_state {
  *          larger than this expire count in block handler.
  * @tex:     attached texture.
  * @fb:      attached fbo.
- * @pbo:     attached pbo.
  * @width:   width of this fbo.
  * @height:  height of this fbo.
  * @external set when the texture was not created by glamor
@@ -361,7 +360,6 @@ typedef struct glamor_pixmap_fbo {
     unsigned int expire;
     GLuint tex;
     GLuint fb;
-    GLuint pbo;
     int width;
     int height;
     Bool external;
-- 
2.1.4

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to