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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user