summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-05-16 00:32:09 +0000
committerBrian Paul <[email protected]>2005-05-16 00:32:09 +0000
commitfdeda9c45831457ee0c30b80d5947d2d90006ed8 (patch)
treee191f2592ced5fe5f08aae8df0438727a3d8006f
parent9b134f641c3a2ee8d12e6b2a205e9fe6ff2cf401 (diff)
remove MESA suffix from _eglInitScreenSurface, use swAlpha value
-rw-r--r--src/mesa/drivers/dri/fb/fb_egl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/fb/fb_egl.c b/src/mesa/drivers/dri/fb/fb_egl.c
index 0d91970453c..e139e915524 100644
--- a/src/mesa/drivers/dri/fb/fb_egl.c
+++ b/src/mesa/drivers/dri/fb/fb_egl.c
@@ -681,7 +681,7 @@ fbCreateScreenSurfaceMESA(_EGLDriver *drv, EGLDisplay dpy, EGLConfig cfg,
int width, height, stride;
surface = (fbSurface *)malloc(sizeof(*surface));
- surf = _eglInitScreenSurfaceMESA(&surface->Base, drv, dpy, cfg, attrib_list);
+ surf = _eglInitScreenSurface(&surface->Base, drv, dpy, cfg, attrib_list);
if (surf == EGL_NO_SURFACE) {
free(surface);
return EGL_NO_SURFACE;
@@ -717,7 +717,7 @@ fbCreateScreenSurfaceMESA(_EGLDriver *drv, EGLDisplay dpy, EGLConfig cfg,
swDepth,
swStencil,
swAccum,
- 0,
+ swAlpha,
GL_FALSE /* aux */);
return surf;