mesa: print number of samples in renderbuffer_storage error msg
authorBrian Paul <brianp@vmware.com>
Wed, 6 Jul 2016 23:10:52 +0000 (17:10 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 8 Jul 2016 18:53:21 +0000 (12:53 -0600)
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/mesa/main/fbobject.c

index bf47c1cf3653d235cf9d80f9c2d2eb06f28cc06d..2c01526d16791c36104cde26d375b7765d037bca 100644 (file)
@@ -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;
       }
    }