Hi all,
I am currently working on my OpenGL patch for Wine and as GLX is more
picky than Mesa, I got a problem. The GLX spec says :
BadMatch is generated if drawable was not created with the same X
screen and visual as ctx.
So this means that if I want to 'attach' a context to a window, it
needs to be created with the same visual than the one used for the
window creation.
I am currently trying to select a visual that matches the one with
which the window was created, but I fear that the default visual may
not support OpenGL or all the possibilities (for example double
buffering, alpha channels, ...).
What to do in this case ? Re-create the window with a 'good' visual ?
Choose as a default visual one that supports most of OpenGL ?
--
Lionel Ulmer - [EMAIL PROTECTED]