summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_box.h
diff options
context:
space:
mode:
authorEduardo Lima Mitev <[email protected]>2015-07-23 16:25:21 +0200
committerEduardo Lima Mitev <[email protected]>2015-07-23 16:31:14 +0200
commitb469cf10efd4734038dcab294f23ca38e9fc7a97 (patch)
treefea52117f3c07d0875796c351287350aec820fde /src/gallium/auxiliary/util/u_box.h
parenta3b53beaa0351cf1322c6e1a580dc7cc3d0cad0c (diff)
mesa: Fix error in target validation of glCompressedTex(ture)SubImage3D() calls
Basically, two different target error checks are chained consecutively, and the second one is executed regardless the result of the first one. This produces an incorrect error if the first check fails but is overrided by the second. This patch conditions the execution of the second check to a successful pass of the first one. Fixes 1 dEQP test: * dEQP-GLES3.functional.negative_api.texture.compressedtexsubimage3d Reviewed-by: Laura Ekstrand <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_box.h')
0 files changed, 0 insertions, 0 deletions