TextureStorage1D should return INVALID_OPERATION if target is not a 1D texture
authorIago Toral Quiroga <itoral@igalia.com>
Mon, 7 Aug 2017 04:18:24 +0000 (06:18 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Wed, 9 Aug 2017 07:28:33 +0000 (09:28 +0200)
commit0415ef9ccd06388c8f60726032f0814b66850312
tree15af9f5968444e68d69925c599392c2b828d4613
parent4234b36f055b76c0cd3e893ba6c852f16edf6ac7
TextureStorage1D should return INVALID_OPERATION if target is not a 1D texture

Previous behavior was inconsistent with other texture targets so this has been
fixed in OpenGL 4.6.

Fixes:
KHR-GL45.direct_state_access.textures_storage_errors

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/main/texstorage.c