diff options
author | Brian Paul <[email protected]> | 2017-12-05 09:57:23 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-12-05 15:32:25 -0700 |
commit | 08ba4a103f64b3f8c98dff155dbfef64499fea8b (patch) | |
tree | 87cdcf632cda3024d09cae89d817aef59399113b /src | |
parent | 323e6029a34aac50d2cae90503f21f96ae968305 (diff) |
mesa: s/%u/%d/ in _mesa_error() call in check_layer()
The layer parameter is signed. Fixes the error message seen when
running the arb_texture_multisample-errors test which checks a
negative layer value.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/fbobject.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index f7702f1c13b..30287abf7c8 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -3189,8 +3189,7 @@ check_layer(struct gl_context *ctx, GLenum target, GLint layer, * and layer is negative." */ if (layer < 0) { - _mesa_error(ctx, GL_INVALID_VALUE, - "%s(layer %u < 0)", caller, layer); + _mesa_error(ctx, GL_INVALID_VALUE, "%s(layer %d < 0)", caller, layer); return false; } |