diff options
author | Brian Paul <[email protected]> | 2005-11-24 04:02:16 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-11-24 04:02:16 +0000 |
commit | daf585d0f00df1d4d2e8dc5b465dad60a4bf0122 (patch) | |
tree | 12c62ad1ec3673b51ff71f6c7e2a3fd558fc74b9 /src/egl/main/eglcontext.c | |
parent | d2c64e0b83b37c551c774191f1cd97891d24ac7d (diff) |
Move all the EGL API function pointers into a new _egl_api struct.
Diffstat (limited to 'src/egl/main/eglcontext.c')
-rw-r--r-- | src/egl/main/eglcontext.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/egl/main/eglcontext.c b/src/egl/main/eglcontext.c index 283dd3f1a5b..42edd1f77e0 100644 --- a/src/egl/main/eglcontext.c +++ b/src/egl/main/eglcontext.c @@ -181,7 +181,7 @@ _eglMakeCurrent(_EGLDriver *drv, EGLDisplay dpy, EGLSurface d, EGLSurface r, EGL draw = NULL; } /* really delete surface now */ - drv->DestroySurface(drv, dpy, oldDrawSurface->Handle); + drv->API.DestroySurface(drv, dpy, oldDrawSurface->Handle); } } if (oldReadSurface != NULL && oldReadSurface != oldDrawSurface) { @@ -192,7 +192,7 @@ _eglMakeCurrent(_EGLDriver *drv, EGLDisplay dpy, EGLSurface d, EGLSurface r, EGL read = NULL; } /* really delete surface now */ - drv->DestroySurface(drv, dpy, oldReadSurface->Handle); + drv->API.DestroySurface(drv, dpy, oldReadSurface->Handle); } } if (oldContext != NULL) { @@ -203,7 +203,7 @@ _eglMakeCurrent(_EGLDriver *drv, EGLDisplay dpy, EGLSurface d, EGLSurface r, EGL ctx = NULL; } /* really delete context now */ - drv->DestroyContext(drv, dpy, oldContext->Handle); + drv->API.DestroyContext(drv, dpy, oldContext->Handle); } } |