diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2010-03-17 10:11:22 +0800 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-04-12 15:32:20 +0900 |
commit | 192f06adca5e79b4824d92dc41186592ed57f71e (patch) | |
tree | 59e9281daaac3058ce18e6414d4ffc9695102d71 /src/gallium/state_trackers/wgl/stw_ext_pixelformat.c | |
parent | bddb6c7a383682d0f8f4fadd8cf57472a8c3c8a8 (diff) |
st/wgl: Switch from st_public.h to st_api.h. [V2]
This is only compile tested with crossmingw.
V2:
- reference count stw_framebuffer
Diffstat (limited to 'src/gallium/state_trackers/wgl/stw_ext_pixelformat.c')
-rw-r--r-- | src/gallium/state_trackers/wgl/stw_ext_pixelformat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/wgl/stw_ext_pixelformat.c b/src/gallium/state_trackers/wgl/stw_ext_pixelformat.c index 8a9995aba8..ab56800e28 100644 --- a/src/gallium/state_trackers/wgl/stw_ext_pixelformat.c +++ b/src/gallium/state_trackers/wgl/stw_ext_pixelformat.c @@ -227,11 +227,11 @@ stw_query_attrib( break; case WGL_SAMPLE_BUFFERS_ARB: - *pvalue = pfi->numSampleBuffers; + *pvalue = 1; break; case WGL_SAMPLES_ARB: - *pvalue = pfi->numSamples; + *pvalue = pfi->stvis.samples; break; default: |