From: Dave Airlie Date: Thu, 29 Jan 2009 13:03:34 +0000 (+1000) Subject: r200: unref swtcl buffer correctly X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5fbb00a11e6c113503399c8acf06196eea64fac4;p=mesa.git r200: unref swtcl buffer correctly --- 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; }