fixup driver for some api changes
authorDave Airlie <airliedfreedesktop.org>
Fri, 23 Dec 2005 07:58:24 +0000 (07:58 +0000)
committerDave Airlie <airliedfreedesktop.org>
Fri, 23 Dec 2005 07:58:24 +0000 (07:58 +0000)
src/mesa/drivers/dri/radeon/server/radeon_egl.c

index 8d9433c786ad8ef45ea9aa4f74241aa1f371bd68..b828da6a2b30a2cd3c8e5d6ffac82090240c8c76 100644 (file)
@@ -937,10 +937,10 @@ radeonFillInConfigs(_EGLDisplay *disp, unsigned pixel_bits,
  * If surface is EGL_NO_SURFACE, disable the screen's output.
  */
 static EGLBoolean
-radeonShowSurfaceMESA(_EGLDriver *drv, EGLDisplay dpy, EGLScreenMESA screen,
+radeonShowScreenSurfaceMESA(_EGLDriver *drv, EGLDisplay dpy, EGLScreenMESA screen,
                       EGLSurface surface, EGLModeMESA m)
 {
-   EGLBoolean b = _eglDRIShowSurfaceMESA(drv, dpy, screen, surface, m);
+   EGLBoolean b = _eglDRIShowScreenSurfaceMESA(drv, dpy, screen, surface, m);
    return b;
 }
 
@@ -1019,7 +1019,7 @@ _eglMain(_EGLDisplay *dpy)
 
    /* then plug in our radeon-specific functions */
    radeon->Base.API.Initialize = radeonInitialize;
-   radeon->Base.API.ShowSurfaceMESA = radeonShowSurfaceMESA;
+   radeon->Base.API.ShowScreenSurfaceMESA = radeonShowScreenSurfaceMESA;
 
    return &radeon->Base;
 }