diff options
author | Alejandro Piñeiro <[email protected]> | 2017-03-02 17:18:14 +0100 |
---|---|---|
committer | Alejandro Piñeiro <[email protected]> | 2017-03-03 08:14:53 +0100 |
commit | a54f0ad6d3217394e597ea66b9a71a6584532638 (patch) | |
tree | 88c1193dee5613371b1713bab152728af972dfd2 /src/util/hash_table.h | |
parent | d844d8e4d5b48cf270a0e67d953d69430609528b (diff) |
mesa/main: *TextureSubImage* generates INVALID_OPERATION on wrong target
Equivalent *TexSubImage* methods generates INVALID_ENUM.
From OpenGL 4.5 spec, section 8.6 Alternate Texture Image
Specification Commands:
"An INVALID_ENUM error is generated by *TexSubImage* if target does
not match the command, as shown in table 8.15."
And:
"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."
Fixes:
GL45-CTS.direct_state_access.textures_copy_errors
v2: slightly change commit summary (Samuel)
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/util/hash_table.h')
0 files changed, 0 insertions, 0 deletions