mesa: check that internalformat of CopyTexImage*D is not 1, 2, 3, 4
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 7 Jan 2016 20:27:52 +0000 (15:27 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 8 Jan 2016 15:58:27 +0000 (10:58 -0500)
commitd6db7ceedf60622a3c17334d764ca1bcddb5935a
treeae5ab5cef564c0e39192db063b955989d8fada41
parent040e314143f973968169bab8ef379bac68fc8626
mesa: check that internalformat of CopyTexImage*D is not 1, 2, 3, 4

The piglit copyteximage check has recently been augmented to test this, but
apparently it hasn't been fixed in Mesa so far.

This language also already appears in the OpenGL 2.1 spec (Ian).

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/teximage.c