diff options
author | Jerome Glisse <[email protected]> | 2010-09-02 11:32:32 -0400 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2010-09-02 11:47:30 -0400 |
commit | e73c5501b2fe20290d1b691c85a5d82ac3a0431c (patch) | |
tree | 2f23b848a81709e9063841c0b36fe3352a0c009a /src/gallium/drivers/r600/r600_context.h | |
parent | c9039fdb167865547dc9b3828d69b99209344999 (diff) |
r600g: fix memory/bo leak
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_context.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_context.h | 1 |
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 d4e3baa69d2..cea08130545 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 */ |