diff options
author | Ilia Mirkin <[email protected]> | 2015-07-22 12:59:46 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-07-23 16:22:52 -0400 |
commit | 17f71483698a4e134a0c85ef0aa3da80fdfdb180 (patch) | |
tree | d394e1f40efc1190b56d53fcf790396d50e97c25 /docs/osmesa.html | |
parent | c844afe94eaecc66e00cc4869f700ac1236bdc89 (diff) |
mesa: rearrange texture error checking order
This moves the width/height/depth == 0 check to the front and avoids
doing any other checking when that is the case.
Also moves the dimensions check after the format/type checks so that we
don't bail out with success on a width/height/depth == 0 request when
the format/type don't match.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91425
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'docs/osmesa.html')
0 files changed, 0 insertions, 0 deletions