summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/radeon/server')
-rw-r--r--src/mesa/drivers/dri/radeon/server/radeon_egl.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/radeon/server/radeon_egl.c b/src/mesa/drivers/dri/radeon/server/radeon_egl.c
index ca77bdeb93..1dfb1805f5 100644
--- a/src/mesa/drivers/dri/radeon/server/radeon_egl.c
+++ b/src/mesa/drivers/dri/radeon/server/radeon_egl.c
@@ -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;
}