st/wgl: fix WGL_SAMPLE_BUFFERS_ARB query

Only report 1 for WGL_SAMPLE_BUFFERS_ARB if the number of samples
per pixel > 1.

Reviewed-by: Matthew McClure <mcclurem@vmware.com>
This commit is contained in:
Brian Paul
2015-06-16 15:32:45 -06:00
parent 5ad5d44af5
commit b8249de646
@@ -232,7 +232,7 @@ stw_query_attrib(
break;
case WGL_SAMPLE_BUFFERS_ARB:
*pvalue = 1;
*pvalue = (pfi->stvis.samples > 1);
break;
case WGL_SAMPLES_ARB: