diff options
-rw-r--r-- | src/mesa/drivers/dri/radeon/server/radeon_egl.c | 8 |
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 ca77bdeb935..1dfb1805f5f 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; } |