From f9bad3dfea43d792876c3a7221b9cfcd107085eb Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 16 May 2005 02:21:08 +0000 Subject: use EGLint instead of unsigned long for eglCopyContextMESA, added comments --- src/egl/main/eglcontext.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/egl/main/eglcontext.c') 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; } - -- cgit v1.2.3