st/wgl: Just pass pPixelFormat to stw_pixelformat_get_info().
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 8 Feb 2012 15:58:37 +0000 (15:58 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 10 Feb 2012 16:23:27 +0000 (16:23 +0000)
commit0cf554fa9b31dbac1890f496974392001e2df825
tree2b8c964445a8e8c17fb27d5be7fb1d1d7781412f
parent6beed86ab8970b57aad8442a3e6bf6410fff13ec
st/wgl: Just pass pPixelFormat to stw_pixelformat_get_info().

Avoids the likely error of forgetting to subtract one.
src/gallium/state_trackers/wgl/stw_context.c
src/gallium/state_trackers/wgl/stw_ext_pbuffer.c
src/gallium/state_trackers/wgl/stw_ext_pixelformat.c
src/gallium/state_trackers/wgl/stw_framebuffer.c
src/gallium/state_trackers/wgl/stw_pixelformat.c
src/gallium/state_trackers/wgl/stw_pixelformat.h