From: Brian Paul Date: Thu, 24 Nov 2005 04:06:51 +0000 (+0000) Subject: use new _egl_api struct X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2a76d952b8f08570dd628ebf3fff0841d3cb60be;p=mesa.git use new _egl_api struct --- 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; }