use new _egl_api struct
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 24 Nov 2005 04:06:51 +0000 (04:06 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 24 Nov 2005 04:06:51 +0000 (04:06 +0000)
src/mesa/drivers/dri/radeon/server/radeon_egl.c

index ca77bdeb93547f9c8e34fecfa1cc0e6f2ac02c20..1dfb1805f5f492134c149f8f5e1c3e8a0f4c65a6 100644 (file)
@@ -553,7 +553,9 @@ static void RADEONDRIAgpHeapInit(driDisplay *disp,
  * Setups a RADEONDRIRec structure to be passed to radeon_dri.so for its
  * initialization.
  */
-static int RADEONScreenInit( driDisplay *disp, RADEONInfoPtr info, RADEONDRIPtr pRADEONDRI)
+static int
+RADEONScreenInit( driDisplay *disp, RADEONInfoPtr info,
+                  RADEONDRIPtr pRADEONDRI)
 {
    int i, err;
 
@@ -971,8 +973,8 @@ _eglMain(_EGLDisplay *dpy)
    _eglDRIInitDriverFallbacks(&radeon->Base);
 
    /* then plug in our radeon-specific functions */
-   radeon->Base.Initialize = radeonInitialize;
-   radeon->Base.ShowSurfaceMESA = radeonShowSurfaceMESA;
+   radeon->Base.API.Initialize = radeonInitialize;
+   radeon->Base.API.ShowSurfaceMESA = radeonShowSurfaceMESA;
 
    return &radeon->Base;
 }