summaryrefslogtreecommitdiff
path: root/glamor/glamor_fbo.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2015-02-05 11:18:24 -0800
committerEric Anholt <eric@anholt.net>2015-07-02 10:05:59 -0700
commit33d6384b29db1b28a9d1a035dc7cc82da8f33c99 (patch)
tree6d7b8442f293b46f6d39991a366a88a90fe1cbd6 /glamor/glamor_fbo.c
parent1734aa285663d83070e6313bb976f976aa2bea4c (diff)
glamor: Drop the dead "PBO" field in an FBO cache struct.
PBOs are only used at the whole pixmap level. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'glamor/glamor_fbo.c')
-rw-r--r--glamor/glamor_fbo.c2
1 files changed, 0 insertions, 2 deletions
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);
}