[Mesa-dev] [Bug 101326] gallium/wgl: Allow context creation without prior SetPixelFormat()
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jun 7 09:21:27 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=101326
Bug ID: 101326
Summary: gallium/wgl: Allow context creation without prior
SetPixelFormat()
Product: Mesa
Version: 17.1
Hardware: Other
OS: Windows (All)
Status: NEW
Severity: normal
Priority: medium
Component: Other
Assignee: mesa-dev at lists.freedesktop.org
Reporter: frank.richter at gmail.com
QA Contact: mesa-dev at lists.freedesktop.org
Created attachment 131764
--> https://bugs.freedesktop.org/attachment.cgi?id=131764&action=edit
Patch: Allow context creation without prior SetPixelFormat()
Currently, when creating a context without having called SetPixelFormat() on
the DC earlier, context creation fails.
However, looking at stw_make_current(), the intention there is to support that
scenario; there, if the pixel format wasn't set, that function falls back to a
default.
So it looks like context creation should work as well.
Attached patch does that by using pretty much the same logic as
stw_make_current().
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170607/d771de8e/attachment.html>
More information about the mesa-dev
mailing list