diff options
author | Brian Paul <[email protected]> | 2012-08-10 09:12:50 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-08-10 09:45:17 -0600 |
commit | 9b04abe36812a34ba447e5b1f8d8e44a10510820 (patch) | |
tree | 387aed75e779c01b92737a3509a57e50fa1d573c /src/gallium/targets/va-r600/target.c | |
parent | 6cb9e99a757bd5a9d908ed6c5515a9ae5fb041ba (diff) |
st/mesa: fix glCopyTexSubImage crash
Fixes a WebGL crash. The dest texture image is at level 2 and is of
size 1x1 texel. The st texture image is a stand-alone resource, not
a pointer into a complete mipmap. So the resource has one level and
trying to write to level 2 blows up.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=53314
and http://bugs.freedesktop.org/show_bug.cgi?id=53319
Note: This is a candidate for the 8.0 branch.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/targets/va-r600/target.c')
0 files changed, 0 insertions, 0 deletions