From daf585d0f00df1d4d2e8dc5b465dad60a4bf0122 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 24 Nov 2005 04:02:16 +0000 Subject: Move all the EGL API function pointers into a new _egl_api struct. --- src/egl/main/eglcontext.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/egl/main/eglcontext.c') diff --git a/src/egl/main/eglcontext.c b/src/egl/main/eglcontext.c index 283dd3f1a5..42edd1f77e 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); } } -- cgit v1.2.3