[Mesa-dev] [Bug 28280] Regression in mesa branch 7.7: glXChooseVisual fails to find visual

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 27 06:19:55 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=28280

--- Comment #1 from Matthias Liertzer <m_liertzer at gmx.at> 2010-05-27 06:19:55 PDT ---
Created an attachment (id=35885)
 View: https://bugs.freedesktop.org/attachment.cgi?id=35885
 Review: https://bugs.freedesktop.org/review?bug=28280&attachment=35885

patch for glxext.c adding GLX_USE_GL

The real problem seems to be that the togl library as well as my test program
both set the GLX_USE_GL attribute. The open gl reference states that this
attribute is of no importance nowadays and should be ignored by the
implementation. The aforementioned commit assumes that all unknown attributes
are followed by a value, which is not the case here. Therefore adding
GLX_USE_GL to the attribute list above fixes the issue. See the patch.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list