mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-18 00:42:40 +00:00
fixups for newer glitz API
This commit is contained in:
parent
f3ae42c0fd
commit
6e2086395d
2 changed files with 2 additions and 10 deletions
|
|
@ -563,15 +563,11 @@ InitOutput (ScreenInfo *pScreenInfo,
|
||||||
glitz_egl_init (NULL);
|
glitz_egl_init (NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
templ.types.window = 1;
|
|
||||||
templ.types.pbuffer = 1;
|
|
||||||
templ.samples = 1;
|
templ.samples = 1;
|
||||||
templ.doublebuffer = 1;
|
templ.doublebuffer = 1;
|
||||||
templ.color.alpha_size = 8;
|
templ.color.alpha_size = 8;
|
||||||
|
|
||||||
mask =
|
mask = GLITZ_FORMAT_SAMPLES_MASK;
|
||||||
GLITZ_FORMAT_WINDOW_MASK |
|
|
||||||
GLITZ_FORMAT_SAMPLES_MASK;
|
|
||||||
|
|
||||||
for (i = 0; i < sizeof (extraMask) / sizeof (extraMask[0]); i++)
|
for (i = 0; i < sizeof (extraMask) / sizeof (extraMask[0]); i++)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -550,15 +550,11 @@ InitOutput (ScreenInfo *pScreenInfo,
|
||||||
xscreen = DefaultScreen (xdisplay);
|
xscreen = DefaultScreen (xdisplay);
|
||||||
}
|
}
|
||||||
|
|
||||||
templ.types.window = 1;
|
|
||||||
templ.types.pbuffer = 1;
|
|
||||||
templ.samples = 1;
|
templ.samples = 1;
|
||||||
templ.doublebuffer = 1;
|
templ.doublebuffer = 1;
|
||||||
templ.color.alpha_size = 8;
|
templ.color.alpha_size = 8;
|
||||||
|
|
||||||
mask =
|
mask = GLITZ_FORMAT_SAMPLES_MASK;
|
||||||
GLITZ_FORMAT_WINDOW_MASK |
|
|
||||||
GLITZ_FORMAT_SAMPLES_MASK;
|
|
||||||
|
|
||||||
for (i = 0; i < sizeof (extraMask) / sizeof (extraMask[0]); i++)
|
for (i = 0; i < sizeof (extraMask) / sizeof (extraMask[0]); i++)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue