Re: [Mesa-dev] [PATCH] mesa: check width and height in copyteximage

2013-03-03 Thread Eric Anholt
Marek Olšák writes: > This WebGL test sets width and height to 0: > https://www.khronos.org/registry/webgl/sdk/tests/conformance/misc/type-conversion-test.html I don't see it being undefined, it just inherits behavior from teximage: "CopyTexImage2D... defines a two-dimensional texture array in

[Mesa-dev] [PATCH] mesa: check width and height in copyteximage

2013-03-03 Thread Marek Olšák
This WebGL test sets width and height to 0: https://www.khronos.org/registry/webgl/sdk/tests/conformance/misc/type-conversion-test.html It causes assertion failures in the state tracker. --- src/mesa/main/teximage.c |4 1 file changed, 4 insertions(+) diff --git a/src/mesa/main/teximage