diff options
author | Paul Berry <[email protected]> | 2012-12-29 11:31:37 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-01-04 11:16:43 -0800 |
commit | 06f67e75ee7158e7f13860d07785e1cf3f8f4b13 (patch) | |
tree | ea6eb8ea87ffc2ccce79171ca080009cc69ed17f /src/gallium/drivers/r300/r300_context.c | |
parent | 48ac6d7e97b93258bc784f46bd5f875c70a4b3b9 (diff) |
i965: Fix glCompressedTexSubImage2D offsets for ETC textures.
This patch fixes intel_miptree_unmap_etc() (which decompresses ETC
textures to linear) to pay attention to map->x and map->y when writing
to the destination image. Previously these values were ignored,
causing the xoffset and yoffset parameters passed to
glCompressedTexSubImage2D() to be ignored.
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.c')
0 files changed, 0 insertions, 0 deletions