On Tue, Feb 2, 2010 at 6:06 AM, Mike Stroyan <m...@lunarg.com> wrote:
> The progs/es2/xegl/tri.c demo fails using, eglQuerySurface() with
> EGL_SURFACE_TYPE.
> Only eglGetConfigAttrib can query EGL_SURFACE_TYPE.
> This patch replaces that with querying EGL_CONFIG_ID, then using that
> ID to call eglChooseConfig and using  that config to call
> eglGetConfigAttrib() with EGL_SURFACE_TYPE.
I've commited a simplified version that reuses the same config.  Thanks for
pointing out the error.

There are many sanity checks for EGL in various demos using EGL.  Gradually, it
should be better to collect them and write EGL regression tests, instead of
hiding them in client API demos.

-olv

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to