summaryrefslogtreecommitdiffstats
path: root/src/egl/main/egldisplay.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2009-09-25 23:43:49 +0800
committerBrian Paul <[email protected]>2009-09-29 08:10:47 -0600
commit56822b0812cd500bd54bb7c4b573c54547efb657 (patch)
tree17d57d1c863c305801078c6b5ab4bb3ce0013485 /src/egl/main/egldisplay.h
parent95cdd697e7e72cec1d0fe79c59a8ba7b8cef8571 (diff)
egl: Rework config lookup.
Make it similiar to how contexts and surfaces are looked up. It should be slightly faster, and work better with multiple displays. Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/egl/main/egldisplay.h')
-rw-r--r--src/egl/main/egldisplay.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/main/egldisplay.h b/src/egl/main/egldisplay.h
index 6575fdf198f..ea4e35a8b3f 100644
--- a/src/egl/main/egldisplay.h
+++ b/src/egl/main/egldisplay.h
@@ -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 */