summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-07-06 17:10:52 -0600
committerBrian Paul <[email protected]>2016-07-08 12:53:21 -0600
commit0e23f370c99efa3e14ee0ffd0b04fa887f2bc2a5 (patch)
treea381136c4876e98b14361842370323ea35a9bc27 /src/mesa
parentfb26317604a59e99716db221bc7eb2b64dafbfb0 (diff)
mesa: print number of samples in renderbuffer_storage error msg
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/fbobject.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}