wgl: Fix wglCreatePbufferARB pixel format lookup
authorJesse Natalie <jenatali@microsoft.com>
Mon, 22 Mar 2021 18:19:16 +0000 (11:19 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 23 Mar 2021 16:17:48 +0000 (16:17 +0000)
commite3f48ac8297466ef11d8c51ae0cfabb226095995
treef4f2b299d2f92fbcb9055cef1cc0480a2ddaafd7
parente6955d440f7cf495676e97682578790007e960d8
wgl: Fix wglCreatePbufferARB pixel format lookup

All other call sites of stw_pixelformat_get_info pass iPixelFormat as-is,
and stw_pixelformat_get_info also subtracts one internally, so I think
this was just an error.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9760>
src/gallium/frontends/wgl/stw_ext_pbuffer.c