diff options
author | Dave Airlie <[email protected]> | 2009-01-29 23:03:34 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-01-29 23:03:34 +1000 |
commit | 5fbb00a11e6c113503399c8acf06196eea64fac4 (patch) | |
tree | 0f713faad117a611c04fa602f022343f1ab62a2c /src | |
parent | b13746b558200862a5d7e7196555f5df38eccd5a (diff) |
r200: unref swtcl buffer correctly
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_swtcl.c | 1 |
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; } |