From 0e23f370c99efa3e14ee0ffd0b04fa887f2bc2a5 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 6 Jul 2016 17:10:52 -0600 Subject: [PATCH] mesa: print number of samples in renderbuffer_storage error msg Reviewed-by: Timothy Arceri --- src/mesa/main/fbobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index bf47c1cf365..2c01526d167 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -2128,7 +2128,7 @@ renderbuffer_storage(struct gl_context *ctx, struct gl_renderbuffer *rb, } if (sample_count_error != GL_NO_ERROR) { - _mesa_error(ctx, sample_count_error, "%s(samples)", func); + _mesa_error(ctx, sample_count_error, "%s(samples=%d)", func, samples); return; } } -- 2.30.2