2008/6/16 Brian Paul <[EMAIL PROTECTED]>:
> If your app/Wine calls glXChooseVisual() with GLX_ALPHA_SIZE > 0 you should
> be getting a visual with an alpha channel, regardless of
> MESA_GLX_FORCE_ALPHA.
>
> Does Wine do that?
>
Wine uses glXGetFBConfigs() to enumerate the available FBConfigs, and
then picks an appropriate one from the list.
(http://source.winehq.org/git/wine.git/?a=blob;f=dlls/winex11.drv/opengl.c;h=393c11a2f0fc1ef512e1b6d24bcdc77b532e0fe0;hb=HEAD#l1032)
Afaik we did use glXCooseVisual() in the past, but changed it to the
current scheme in order to better match what wglChoosePixelFormat()
does.


Henri

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to