diff options
author | Chia-I Wu <[email protected]> | 2010-06-30 17:10:10 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-06-30 18:32:48 +0800 |
commit | 6717a313f26e42a7864f46f499637462a7cc3d57 (patch) | |
tree | 10e7bb1337b0f99f18dd8e36e0f9074c6d78744e /src/egl/main/egldisplay.h | |
parent | 106466783f986f532d3ee7af3a70f693c610ea04 (diff) |
egl: Store configs in a dynamic array.
Diffstat (limited to 'src/egl/main/egldisplay.h')
-rw-r--r-- | src/egl/main/egldisplay.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/egl/main/egldisplay.h b/src/egl/main/egldisplay.h index 5a1caa9cc65..e729038f9e0 100644 --- a/src/egl/main/egldisplay.h +++ b/src/egl/main/egldisplay.h @@ -5,6 +5,7 @@ #include "egltypedefs.h" #include "egldefines.h" #include "eglmutex.h" +#include "eglarray.h" enum _egl_platform_type { @@ -92,9 +93,7 @@ struct _egl_display EGLint NumScreens; _EGLScreen **Screens; /* array [NumScreens] */ - EGLint MaxConfigs; - EGLint NumConfigs; - _EGLConfig **Configs; /* array [NumConfigs] of ptr to _EGLConfig */ + _EGLArray *Configs; /* lists of resources */ _EGLResource *ResourceLists[_EGL_NUM_RESOURCES]; |