summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-05-17 02:14:44 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-05-17 02:14:44 +0000
commit511905632427aff302ddfb6cae285017451e0821 (patch)
tree3fec3b7f5cf69a3631dad406f754b8f3fa5597df
parent4c80f8df46e6c70c9954364609cd0103030fa2a6 (diff)
update comments
-rw-r--r--src/egl/main/eglscreen.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/egl/main/eglscreen.c b/src/egl/main/eglscreen.c
index 230fc4a7a4..e213e9a847 100644
--- a/src/egl/main/eglscreen.c
+++ b/src/egl/main/eglscreen.c
@@ -106,8 +106,9 @@ _eglGetScreensMESA(_EGLDriver *drv, EGLDisplay dpy, EGLScreenMESA *screens,
/**
- * Initialize the given _EGLSurface object. Assign it an EGLSurface handle.
- * Return the EGLSurface handle or EGL_BAD_SURFACE if error.
+ * Initialize the given _EGLSurface object. Do error checking.
+ * Assign it an EGLSurface handle and insert into hash table.
+ * \return EGLSurface handle or EGL_NO_SURFACE if error.
*/
EGLSurface
_eglInitScreenSurface(_EGLSurface *surf, _EGLDriver *drv, EGLDisplay dpy,