egl: Rework config lookup.
[mesa.git] / src / egl / main / egldisplay.h
index 6575fdf198f4b9598f176a5d0a09c03d5619d8c9..ea4e35a8b3f6a84e7b1467abdcdc9b5f002d1a66 100644 (file)
@@ -44,6 +44,7 @@ struct _egl_display
    EGLint NumScreens;
    _EGLScreen **Screens;  /* array [NumScreens] */
 
+   EGLint MaxConfigs;
    EGLint NumConfigs;
    _EGLConfig **Configs;  /* array [NumConfigs] of ptr to _EGLConfig */