mesa: Add error condition for format=STENCIL_INDEX in glGetTexImage()
authorAnuj Phogat <anuj.phogat@gmail.com>
Tue, 18 Mar 2014 23:52:24 +0000 (16:52 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Thu, 1 May 2014 17:58:39 +0000 (10:58 -0700)
commit5388fc157e2b78d67a05dc923b98857e6449cf1e
tree6f2a63bc008f600dedad834bc9970f5249103a0f
parent340658e44f87c98e840b98029c9b5a81d1bed837
mesa: Add error condition for format=STENCIL_INDEX in glGetTexImage()

From OpenGL 4.0 spec, page 306:
   "Calling GetTexImage with a format of STENCIL_INDEX
    causes the error INVALID_ENUM."

Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/texgetimage.c