diff options
author | Brian Paul <[email protected]> | 2011-09-15 16:21:12 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-09-16 07:38:53 -0600 |
commit | 81c688babe6d2539d580429c3bfdc5fc1729ab0d (patch) | |
tree | b50d81a6803a7890de71ea77c955f82783932405 /src/gallium/drivers/r300/r300_query.c | |
parent | 89999204eca233b879ed055aaf2c6a299c263b16 (diff) |
softpipe: use pipe_get_tile_rgba_format()
Pass an explicit surface format as we do with pipe_put_tile_rgba_format().
This fixes the piglit fbo-srgb-blit test. With GL_EXT_framebuffer_sRGB we
override the resource's format with an explicit format (linear vs. sRGB).
We need to do so both when getting and putting tiles.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=40402
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300/r300_query.c')
0 files changed, 0 insertions, 0 deletions