diff options
author | Brian Paul <[email protected]> | 2012-09-22 09:30:23 -0600 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2012-10-24 11:41:07 -0700 |
commit | 47a509c0461e1bfb37a5d0ec0ef4bc65150221e1 (patch) | |
tree | de6bebc8004265d54074cfac65fdbe371126a7ce /src/mesa/main/state.c | |
parent | 59b1e4a29e756d291f815d4429c8af0e4cf068aa (diff) |
mesa: fix incorrect error for glCompressedSubTexImage
If a subtexture region isn't aligned to the compressed block size,
return GL_INVALID_OPERATION, not gl_INVALID_VALUE.
NOTE: This is a candidate for the stable branches.
Reviewed-by: Eric Anholt <[email protected]>
(cherry picked from commit 1f586684d62c4f5208d1f3929d067a79ea2140ac)
Diffstat (limited to 'src/mesa/main/state.c')
0 files changed, 0 insertions, 0 deletions