diff options
author | Timothy Arceri <[email protected]> | 2020-07-01 13:04:25 +1000 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-07-02 23:52:52 +0000 |
commit | 040b07c7feebac90858f7426c2c20784642d0ca5 (patch) | |
tree | c75702333f2480841bccd6543d94bb535e1d7469 /common.py | |
parent | 8591adea38b82f973948cd120ffd9f93eb3bd71d (diff) |
mesa: fix fallthrough in glformats
Before 908f817918fb this would fallthrough to GL_INVALID_OPERATION
if the validation condition was not met. But since that change it
will now only return GL_INVALID_OPERATION if
!_mesa_has_EXT_texture_compression_bptc(ctx) is true. This seems
unintended.
Here we fix up the fallthrough and add the fallthrough comment so
this doesn't happen again.
Fixes: 908f817918fb ("mesa: expose EXT_texture_compression_bptc in GLES")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3005
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5705>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions