summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-11-24 04:06:51 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-11-24 04:06:51 +0000
commit2a76d952b8f08570dd628ebf3fff0841d3cb60be (patch)
tree8764e54e7f5a8e16b8cf7ebc5ef65113b5e81e57 /src
parent1ac1c1c4239eb99f4befa00c501904f6b74e9694 (diff)
use new _egl_api struct
Diffstat (limited to 'src')
-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;
}