Re: [AD] SF.net SVN: alleg:[11937] allegro/branches/4.9/allegro.cfg

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Elias Pschernig wrote:

Can you be somewhat more specific? Reading the source I assume setting it to "old" is the same as disabling the "WGL_ARB_pixel_format" extension - is that right?

No. WGL does not use extension mechanism at that phase because it hasn't been initialized yet, so disabling an extension won't have any affect. Using "old" makes use of DescribePixelFormat(), while using "new" makes use of wglGetPixelFormatAttribivARB() provided by WGL_ARB_pixel_format extension. The two functions do the same, but are a bit different and WGL_ARB_pixel_format let's you extract some more info, similar to XVisual/FBoonfig story.

The documentation in allegro.cfg should not just make sense to us, but also to users - and for them saying that something is "new" or "old" is meaningless.

This feature is not really intended to for users. It's mainly for testing purposes. We probably shouldn't even list in allegro.cfg when A5 is out, or mark it as strictly advanced. The "new" way wasn't working on WINE, I don't know if that's still the case.



--
Milan Mimica
http://sparklet.sf.net




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/