commit | bf41b2b2627aa3790d380092c28c5d3395cc9cde | [log] [tgz] |
---|---|---|
author | Frank Richter <frank.richter@dynardo.de> | Tue Oct 17 10:34:27 2017 +0200 |
committer | Brian Paul <brianp@vmware.com> | Wed Nov 15 16:12:43 2017 -0700 |
tree | ca14546652377f8b1e9a59c745564a0605a95705 | |
parent | 824e8084ed557061cd7a008b08da15897277d66e [diff] |
gallium/wgl: fix default pixel format issue When creating a context without SetPixelFormat() don't blindly take the pixel format reported by GDI. Instead, look for our own closest pixel format. Minor clean-ups added by Brian Paul. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103412 Reviewed-by: Brian Paul <brianp@vmware.com> Tested-by: Brian Paul <brianp@vmware.com>