Results 1 to 3 of 3

Thread: question about eglGetConfigs

  1. #1
    Junior Member
    Join Date
    Oct 2004
    Posts
    3

    question about eglGetConfigs

    Hi,
    In eglGetConfigs, it says that it returns a list of possible configs through the EGLConfig* configs that gets passed in. How do I look through this list to find a suitable configuration? EGLConfig appears to be a void*, so I can't look through the array.

    Praveen

  2. #2
    Senior Member
    Join Date
    Sep 2003
    Location
    Seattle, WA
    Posts
    246

    Re: question about eglGetConfigs

    Using eglGetConfigAttrib(). The idea is, however, to use eglChooseConfig() to find a suitable configuration right away.

    - HM

    [ November 22, 2004: Message edited by: Hans-Martin Will ]

  3. #3

    Re: question about eglGetConfigs

    The list returned by eglChooseConfig is sorted from best configuration to worst configuration, based on the requested attributes you've sent to the function.

    - ben

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •