summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600_context.h
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2010-09-02 11:32:32 -0400
committerJerome Glisse <jglisse@redhat.com>2010-09-02 11:47:30 -0400
commite73c5501b2fe20290d1b691c85a5d82ac3a0431c (patch)
tree2f23b848a81709e9063841c0b36fe3352a0c009a /src/gallium/drivers/r600/r600_context.h
parentc9039fdb167865547dc9b3828d69b99209344999 (diff)
r600g: fix memory/bo leak
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Diffstat (limited to 'src/gallium/drivers/r600/r600_context.h')
-rw-r--r--src/gallium/drivers/r600/r600_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_context.h b/src/gallium/drivers/r600/r600_context.h
index d4e3baa69d..cea0813054 100644
--- a/src/gallium/drivers/r600/r600_context.h
+++ b/src/gallium/drivers/r600/r600_context.h
@@ -131,6 +131,7 @@ struct r600_context {
struct radeon_state config;
/* FIXME get rid of those vs_resource,vs/ps_constant */
struct radeon_state vs_resource[160];
+ unsigned vs_nresource;
struct radeon_state vs_constant[256];
struct radeon_state ps_constant[256];
/* hw states */