From 2a76d952b8f08570dd628ebf3fff0841d3cb60be Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 24 Nov 2005 04:06:51 +0000 Subject: [PATCH] use new _egl_api struct --- src/mesa/drivers/dri/radeon/server/radeon_egl.c | 8 +++++--- 1 file 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; } -- 2.30.2