diff options
author | Ilia Mirkin <[email protected]> | 2015-08-27 15:28:24 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-08-27 17:18:43 -0400 |
commit | 2259b111003f2e8c55cae42677ec45345fb1b6e3 (patch) | |
tree | 53bef10e9f046336b9e43b0d78ce263e4eddd7e5 /src/glx/dri2_priv.h | |
parent | 0a913a9d85f2eb772be6a133965c5b8a4aa3c800 (diff) |
mesa: only copy the requested teximage faces
Cube maps are special in that they have separate teximages for each
face. We handled that by copying the data to them separately, but in
case zoffset != 0 or depth != 6 we would read off the end of the client
array or modify the wrong images.
zoffset/depth have already been verified by the time the code gets to
this stage, so no need to double-check.
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Cc: "10.6 11.0" <[email protected]>
Diffstat (limited to 'src/glx/dri2_priv.h')
0 files changed, 0 insertions, 0 deletions