diff options
author | Christoph Bumiller <[email protected]> | 2010-09-16 14:47:44 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2010-09-16 14:49:23 +0200 |
commit | 3a62365f402b1159afd526fb4b510cdb51de1365 (patch) | |
tree | 29c48ea4570967a69532fa239d939bfd5ffdfb6e /src/gallium/drivers/nv50/nv50_program.c | |
parent | e0aa7e043803b10f503440ed088d89b67f5fd66f (diff) |
nv50: get shader fixups/relocations into working state
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_program.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_program.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c index b3600f7ba73..db681764910 100644 --- a/src/gallium/drivers/nv50/nv50_program.c +++ b/src/gallium/drivers/nv50/nv50_program.c @@ -653,5 +653,8 @@ nv50_program_destroy(struct nv50_context *nv50, struct nv50_program *p) if (p->code) FREE(p->code); + if (p->fixups) + FREE(p->fixups); + p->translated = FALSE; } |