diff options
author | Jon Smirl <jonsmirl@gmail.com> | 2005-05-14 14:54:38 +0000 |
---|---|---|
committer | Jon Smirl <jonsmirl@gmail.com> | 2005-05-14 14:54:38 +0000 |
commit | 1c606a9aa1d1fa79fe5c92f42651385917322d5f (patch) | |
tree | 2a7293ad9ba0bb580f4021af353af9b2d270e1af /src/egl/main/eglapi.c | |
parent | 09f433b97cc8fa36452a49c3f062b9d9d0c33b9e (diff) |
Add empty placeholder for eglCopyContextMESA
Diffstat (limited to 'src/egl/main/eglapi.c')
-rw-r--r-- | src/egl/main/eglapi.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c index 0be901c12..02b944f13 100644 --- a/src/egl/main/eglapi.c +++ b/src/egl/main/eglapi.c @@ -349,6 +349,7 @@ void (* APIENTRY eglGetProcAddress(const char *procname))() { "eglChooseModeMESA", (_EGLProc) eglChooseModeMESA }, { "eglGetModesMESA", (_EGLProc) eglGetModesMESA }, { "eglGetModeAttribMESA", (_EGLProc) eglGetModeAttribMESA }, + { "eglCopyContextMESA", (_EGLProc) eglCopyContextMESA }, { "eglGetScreensMESA", (_EGLProc) eglGetScreensMESA }, { "eglCreateScreenSurfaceMESA", (_EGLProc) eglCreateScreenSurfaceMESA }, { "eglShowSurfaceMESA", (_EGLProc) eglShowSurfaceMESA }, @@ -414,6 +415,17 @@ eglGetModeAttribMESA(EGLDisplay dpy, EGLModeMESA mode, EGLint attribute, EGLint } +EGLBoolean APIENTRY +eglCopyContextMESA(EGLDisplay dpy, EGLContext source, EGLContext dest, unsigned long mask) +{ + _EGLDriver *drv = _eglLookupDriver(dpy); + if (drv) + return drv->CopyContextMESA(drv, dpy, source, dest, mask); + else + return EGL_FALSE; +} + + EGLBoolean eglGetScreensMESA(EGLDisplay dpy, EGLScreenMESA *screens, EGLint max_screens, EGLint *num_screens) { |