st/wgl: refactor stw_pixelformat_init()
authorBrian Paul <brianp@vmware.com>
Wed, 8 Feb 2012 17:06:21 +0000 (10:06 -0700)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 10 Feb 2012 16:23:27 +0000 (16:23 +0000)
commitad9455314d9c5cb9b31af22116841ee3e642a55b
treedead64072d8d84b42ded1897911f82c1ed7bf29c
parent9646762261d976d34bee8c8b1dcda9656cec655c
st/wgl: refactor stw_pixelformat_init()

Replace duplicated code with add_color_format_variants() helper.
src/gallium/state_trackers/wgl/stw_pixelformat.c