commit | 9b04abe36812a34ba447e5b1f8d8e44a10510820 | [log] [tgz] |
---|---|---|
author | Brian Paul <brianp@vmware.com> | Fri Aug 10 09:12:50 2012 -0600 |
committer | Brian Paul <brianp@vmware.com> | Fri Aug 10 09:45:17 2012 -0600 |
tree | 387aed75e779c01b92737a3509a57e50fa1d573c | |
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 <jfonseca@vmware.com>