Re: [Mesa-dev] [PATCH] st/mesa: fix glCopyTexSubImage crash

2012-08-10 Thread Jose Fonseca
Sounds good to me. Jose - Original Message - > 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 bl

[Mesa-dev] [PATCH] st/mesa: fix glCopyTexSubImage crash

2012-08-10 Thread Brian Paul
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=5331