On 3/15/06, Wino Rojo winorojo@hotmail.com wrote:
Ok, so now we know what's is going on here :-)
I'm not familiar at all with wine, so I'm not sure how we should fix this (but it seems this would fix a lot of opengl related problems)
When we first call X11DRV_setup_opengl_visual, I guess it's using the first visual ID.
Hold on, the log shows it picking another in your test program: trace:opengl:X11DRV_setup_opengl_visual Visual ID 28 Chosen
From glxinfo:
0x23 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 0 0 None 0x28 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
But later, when we create a pixelformat descriptor, maybe we should select a better visual (one equal or similar to the description given in pixelformat), so when we later call wlgMakeCurrent, both visuals will be the same
I hope this makes sense...
Cheers,
Wino
See if you can tell from my log: http://www.chez.com/alors/logfile
Someone that knows wgl want to comment?
Jesse