[Mesa-dev] [PATCH] mesa: print number of samples in renderbuffer_storage error msg
Timothy Arceri
timothy.arceri at collabora.com
Thu Jul 7 03:16:49 UTC 2016
On Wed, 2016-07-06 at 18:02 -0600, Brian Paul wrote:
> ---
> 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 bf47c1c..2c01526 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;
> }
> }
Reviewed-by: Timothy Arceri <timothy.arceri at collabora.com>
More information about the mesa-dev
mailing list