summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2009-01-29 23:03:34 +1000
committerDave Airlie <[email protected]>2009-01-29 23:03:34 +1000
commit5fbb00a11e6c113503399c8acf06196eea64fac4 (patch)
tree0f713faad117a611c04fa602f022343f1ab62a2c /src
parentb13746b558200862a5d7e7196555f5df38eccd5a (diff)
r200: unref swtcl buffer correctly
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r200/r200_swtcl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_swtcl.c b/src/mesa/drivers/dri/r200/r200_swtcl.c
index 663e4ae0bc6..3142f8b6c94 100644
--- a/src/mesa/drivers/dri/r200/r200_swtcl.c
+++ b/src/mesa/drivers/dri/r200/r200_swtcl.c
@@ -297,6 +297,7 @@ static void flush_last_swtcl_prim(GLcontext *ctx)
rmesa->swtcl.hw_primitive,
rmesa->swtcl.numverts);
+ radeon_bo_unref(rmesa->swtcl.bo);
// COMMIT_BATCH();
rmesa->swtcl.numverts = 0;
}