summaryrefslogtreecommitdiff
path: root/src/egl/main/eglcontext.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-05-16 02:21:08 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-05-16 02:21:08 +0000
commitf9bad3dfea43d792876c3a7221b9cfcd107085eb (patch)
tree3a4a502ea04efff4bdce4655f46433c27bd01d9b /src/egl/main/eglcontext.c
parenta495ed372f7056c84cbf9c5a38622367c0fac36e (diff)
use EGLint instead of unsigned long for eglCopyContextMESA, added comments
Diffstat (limited to 'src/egl/main/eglcontext.c')
-rw-r--r--src/egl/main/eglcontext.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/egl/main/eglcontext.c b/src/egl/main/eglcontext.c
index e878cc9d7c..283dd3f1a5 100644
--- a/src/egl/main/eglcontext.c
+++ b/src/egl/main/eglcontext.c
@@ -226,9 +226,15 @@ _eglMakeCurrent(_EGLDriver *drv, EGLDisplay dpy, EGLSurface d, EGLSurface r, EGL
}
+/**
+ * This is defined by the EGL_MESA_copy_context extension.
+ */
EGLBoolean
-_eglCopyContextMESA(_EGLDriver *drv, EGLDisplay dpy, EGLContext source, EGLContext dest, unsigned long mask)
+_eglCopyContextMESA(_EGLDriver *drv, EGLDisplay dpy, EGLContext source,
+ EGLContext dest, EGLint mask)
{
+ /* This function will always have to be overridden/implemented in the
+ * device driver. If the driver is based on Mesa, use _mesa_copy_context().
+ */
return EGL_FALSE;
}
-