diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-05-16 02:21:57 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-05-16 02:21:57 +0000 |
commit | 72a313902bc8eca4b05641695877b255b9a5f06c (patch) | |
tree | aeb9274bffc71546229dc3de67b06a11f9a8cfb4 /include/GLES/egl.h | |
parent | f9bad3dfea43d792876c3a7221b9cfcd107085eb (diff) |
EGL_MESA_copy_context stuff
Diffstat (limited to 'include/GLES/egl.h')
-rw-r--r-- | include/GLES/egl.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/GLES/egl.h b/include/GLES/egl.h index adb56ec0a9..9d7df401b5 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 |