diff options
author | Brian Paul <[email protected]> | 2005-05-16 02:21:08 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-05-16 02:21:08 +0000 |
commit | f9bad3dfea43d792876c3a7221b9cfcd107085eb (patch) | |
tree | 3a4a502ea04efff4bdce4655f46433c27bd01d9b /src/egl/main/eglcontext.c | |
parent | a495ed372f7056c84cbf9c5a38622367c0fac36e (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.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/egl/main/eglcontext.c b/src/egl/main/eglcontext.c index e878cc9d7cf..283dd3f1a5b 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; } - |