diff options
author | Frank Richter <[email protected]> | 2017-10-17 10:34:27 +0200 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-11-15 16:12:43 -0700 |
commit | bf41b2b2627aa3790d380092c28c5d3395cc9cde (patch) | |
tree | ca14546652377f8b1e9a59c745564a0605a95705 /src/gallium/drivers/svga | |
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 <[email protected]>
Tested-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga')
0 files changed, 0 insertions, 0 deletions