From: Brian Paul Date: Wed, 6 Jul 2016 23:10:52 +0000 (-0600) Subject: mesa: print number of samples in renderbuffer_storage error msg X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e23f370c99efa3e14ee0ffd0b04fa887f2bc2a5;p=mesa.git mesa: print number of samples in renderbuffer_storage error msg Reviewed-by: Timothy Arceri --- 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; } }