diff --git a/glamor/glamor_fbo.c b/glamor/glamor_fbo.c index abb7284c6..e4aa4c696 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 d72c9bc1b..57aa445c9 100644 --- a/glamor/glamor_priv.h +++ b/glamor/glamor_priv.h @@ -328,7 +328,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 @@ -341,7 +340,6 @@ typedef struct glamor_pixmap_fbo { unsigned int expire; GLuint tex; GLuint fb; - GLuint pbo; int width; int height; Bool external;