Question about eglGetConfigs

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.


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 ]

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

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.