Skip to content
Snippets Groups Projects
Commit 51e80d1a authored by Anuj Phogat's avatar Anuj Phogat Committed by Carl Worth
Browse files

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: default avatarAnuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
(cherry picked from commit 5388fc15)
parent 755bf62c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment