summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_program.c
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-07-11 21:19:41 +1000
committerBen Skeggs <[email protected]>2008-07-11 21:19:41 +1000
commit7c745de74997e859d7e2640092bda9ad900e28a9 (patch)
tree4d3828df7169957e7c864775237e132a814f67cd /src/gallium/drivers/nv50/nv50_program.c
parent62100692b8ad7fa868743c4698dac109beceaf7f (diff)
nv50: add some texture formats
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_program.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_program.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c
index 2668acf2999..0d3ddb8a596 100644
--- a/src/gallium/drivers/nv50/nv50_program.c
+++ b/src/gallium/drivers/nv50/nv50_program.c
@@ -1701,6 +1701,8 @@ nv50_program_destroy(struct nv50_context *nv50, struct nv50_program *p)
if (p->buffer)
pipe_buffer_reference(ws, &p->buffer, NULL);
+ nv50->screen->nvws->res_free(&p->data);
+
p->translated = 0;
}