mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
remove MESA suffix from _eglInitScreenSurface, use swAlpha value
This commit is contained in:
parent
9b134f641c
commit
fdeda9c458
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue