diff options
Diffstat (limited to 'src/egl')
-rw-r--r-- | src/egl/main/egldisplay.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/egl/main/egldisplay.c b/src/egl/main/egldisplay.c index 97ad8652f5a..bed7663efc5 100644 --- a/src/egl/main/egldisplay.c +++ b/src/egl/main/egldisplay.c @@ -375,7 +375,11 @@ _eglCheckResource(void *res, _EGLResourceType type, _EGLDisplay *dpy) /** - * Initialize a display resource. + * Initialize a display resource. The size of the subclass object is + * specified. + * + * This is supposed to be called from the initializers of subclasses, such as + * _eglInitContext or _eglInitSurface. */ void _eglInitResource(_EGLResource *res, EGLint size, _EGLDisplay *dpy) |