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. 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
_________________________________________________________________ Don't just Search. Find! http://search.sympatico.msn.ca/default.aspx The new MSN Search! Check it out!