From: Brian Paul Date: Mon, 20 Oct 2008 15:35:18 +0000 (-0600) Subject: cell: temporarily disable freeing of tiled texture memory X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6cec79dc4fc8f6ebde3e4c90ac56fa8022f2d4aa;p=mesa.git cell: temporarily disable freeing of tiled texture memory Allows glDrawPixels to work for now... --- diff --git a/src/gallium/drivers/cell/ppu/cell_texture.c b/src/gallium/drivers/cell/ppu/cell_texture.c index 230e1925733..9c6741f1bc1 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 } }