diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-10-20 09:35:18 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-10-20 09:35:18 -0600 |
commit | 6cec79dc4fc8f6ebde3e4c90ac56fa8022f2d4aa (patch) | |
tree | 5e2bcdfcf31cfa6518106ea814ba02ec311056e6 /src/gallium/drivers | |
parent | 81724da4f61f2ba678e2e0376209e1b754e1ecab (diff) |
cell: temporarily disable freeing of tiled texture memory
Allows glDrawPixels to work for now...
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/cell/ppu/cell_texture.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_texture.c b/src/gallium/drivers/cell/ppu/cell_texture.c index 230e192573..9c6741f1bc 100644 --- a/src/gallium/drivers/cell/ppu/cell_texture.c +++ b/src/gallium/drivers/cell/ppu/cell_texture.c @@ -147,7 +147,13 @@ cell_texture_release(struct pipe_screen *screen, for (i = 0; i < CELL_MAX_TEXTURE_LEVELS; i++) { if (ct->tiled_data[i]) { + /* XXX need to use a fenced buffer for tiled data so that + * it's properly freed after rendering has completed. + * Disabling this free() allows glDrawPixels to work for now. + */ +#if 0 align_free(ct->tiled_data[i]); +#endif } } |