summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-05-16 02:21:57 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-05-16 02:21:57 +0000
commit72a313902bc8eca4b05641695877b255b9a5f06c (patch)
treeaeb9274bffc71546229dc3de67b06a11f9a8cfb4 /include
parentf9bad3dfea43d792876c3a7221b9cfcd107085eb (diff)
EGL_MESA_copy_context stuff
Diffstat (limited to 'include')
-rw-r--r--include/GLES/egl.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/GLES/egl.h b/include/GLES/egl.h
index adb56ec0a98..9d7df401b53 100644
--- a/include/GLES/egl.h
+++ b/include/GLES/egl.h
@@ -247,7 +247,6 @@ GLAPI EGLBoolean APIENTRY eglCopyBuffers (EGLDisplay dpy, EGLSurface surface, Na
GLAPI EGLBoolean APIENTRY eglChooseModeMESA(EGLDisplay dpy, EGLScreenMESA screen, const EGLint *attrib_list, EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes);
GLAPI EGLBoolean APIENTRY eglGetModesMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes);
GLAPI EGLBoolean APIENTRY eglGetModeAttribMESA(EGLDisplay dpy, EGLModeMESA mode, EGLint attribute, EGLint *value);
-GLAPI EGLBoolean APIENTRY eglCopyContextMESA(EGLDisplay dpy, EGLContext source, EGLContext dest, unsigned long mask);
GLAPI EGLBoolean APIENTRY eglGetScreensMESA(EGLDisplay dpy, EGLScreenMESA *screens, EGLint max_screens, EGLint *num_screens);
GLAPI EGLSurface APIENTRY eglCreateScreenSurfaceMESA(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list);
GLAPI EGLBoolean APIENTRY eglShowSurfaceMESA(EGLDisplay dpy, EGLint screen, EGLSurface surface, EGLModeMESA mode);
@@ -261,10 +260,12 @@ GLAPI const char * APIENTRY eglQueryModeStringMESA(EGLDisplay dpy, EGLModeMESA m
#endif /* EGL_MESA_screen_surface */
+#ifndef EGL_MESA_copy_context
+#define EGL_MESA_copy_context 1
+GLAPI EGLBoolean APIENTRY eglCopyContextMESA(EGLDisplay dpy, EGLContext source, EGLContext dest, EGLint mask);
-
-
+#endif /* EGL_MESA_copy_context */
#ifdef __cplusplus