diff options
Diffstat (limited to 'src/mesa/main/get.c')
-rw-r--r-- | src/mesa/main/get.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 73aa8c5f82c..73ff0b9687a 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -1089,6 +1089,9 @@ find_custom_value(struct gl_context *ctx, const struct value_desc *d, union valu case GL_SAMPLES: v->value_int = _mesa_geometric_samples(ctx->DrawBuffer); break; + case GL_SAMPLE_BUFFERS: + v->value_int = _mesa_geometric_samples(ctx->DrawBuffer) > 0; + break; } } |