diff options
author | Eric Anholt <[email protected]> | 2011-05-31 15:38:17 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-06-13 15:56:36 -0700 |
commit | ef0d548838c3da476596ee4dc983cc02b4f67b7b (patch) | |
tree | a2a5f14f85aa54331f634dc53e1971d8af997d15 /src/glx/dri_common.h | |
parent | fb60e2061b1f2f58a65e908e864704c234b300b0 (diff) |
intel: Do the drawable x/y offset in intel_renderbuffer_map() for spans.
We were mapping the renderbuffer once, then walking over all the
buffers to map just the texture ones using the other texture mapping
function that handled the x/y offset to the image in the region. But
then we would go and overwrite *those* mappings with the original
mappings for depth/stencil, which was wrong.
Instead, just walk over the attachments once and map the attachments.
Wasn't that easy?
Diffstat (limited to 'src/glx/dri_common.h')
0 files changed, 0 insertions, 0 deletions