egl: in _eglAddConfig() just save a pointer to the config; don't copy the config

This allows subclassing by drivers.
This commit is contained in:
Brian Paul
2008-06-04 11:34:10 -06:00
parent 88f86c9d02
commit 97035cb19a
4 changed files with 31 additions and 16 deletions

View File

@@ -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;