r200: unref swtcl buffer correctly

This commit is contained in:
Dave Airlie 2009-01-29 23:03:34 +10:00
parent b13746b558
commit 5fbb00a11e

View file

@ -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;
}