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

Eric Anholt eric at anholt.net
Sun Mar 3 10:57:18 PST 2013


Marek Olšák <maraeo at gmail.com> 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 exactly
the manner of TexImage2D, except that the image data are taken from the
framebuffer rather than from client memory."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130303/9cfec9d7/attachment.pgp>


More information about the mesa-dev mailing list