projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc97e54
)
egl: clarify what _eglInitResource does
author
Chia-I Wu
<olvaffe@gmail.com>
Wed, 19 Feb 2014 05:04:04 +0000
(13:04 +0800)
committer
Chia-I Wu
<olvaffe@gmail.com>
Wed, 19 Feb 2014 05:08:54 +0000
(13:08 +0800)
It is a helper called from the initializers of its subclasses.
src/egl/main/egldisplay.c
patch
|
blob
|
history
diff --git
a/src/egl/main/egldisplay.c
b/src/egl/main/egldisplay.c
index 97ad8652f5a33ff05ea29b9708f5ef89bd72d8e9..bed7663efc5a5ff43b3acfbeeb9153028da16c72 100644
(file)
--- 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)