summaryrefslogtreecommitdiff
path: root/src/egl/main/egldisplay.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-06-04 11:34:10 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-06-04 11:36:59 -0600
commit97035cb19aaf508aad45446651a80da9af1d0e8c (patch)
tree8ed9a86e1f18c81d86e64df7d0263c2a914142e8 /src/egl/main/egldisplay.h
parent88f86c9d026fc71b78cc6d71c0faaed38d0d6927 (diff)
egl: in _eglAddConfig() just save a pointer to the config; don't copy the config
This allows subclassing by drivers.
Diffstat (limited to 'src/egl/main/egldisplay.h')
-rw-r--r--src/egl/main/egldisplay.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/main/egldisplay.h b/src/egl/main/egldisplay.h
index e2ebab0b21..ff623ee1c6 100644
--- a/src/egl/main/egldisplay.h
+++ b/src/egl/main/egldisplay.h
@@ -21,7 +21,7 @@ struct _egl_display
_EGLScreen **Screens; /* array [NumScreens] */
EGLint NumConfigs;
- _EGLConfig *Configs; /* array [NumConfigs] */
+ _EGLConfig **Configs; /* array [NumConfigs] of ptr to _EGLConfig */
#ifdef _EGL_PLATFORM_X
Display *Xdpy;