Skip to content

mesa: change error code of *TextureSubImage* for incorreect target

Yevhenii Kolesnikov requested to merge GL/mesa:fix/texturesubimage_error into master

According to the "Errors" list of the OpenGL 4.6 spec, section 8.6 "Alternate Texture Image Specification Commands":

An INVALID_OPERATION error is generated by *TextureSubImage* if the effective target of texture does not match the command, as shown in table 8.15.

Signed-off-by: Yevhenii Kolesnikov yevhenii.kolesnikov@globallogic.com

Accompanying changes to piglit test: piglit!345 (merged)

Edited by Yevhenii Kolesnikov

Merge request reports

Loading