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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user