fixups for newer glitz API
This commit is contained in:
parent
f3ae42c0fd
commit
6e2086395d
|
@ -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 New Issue
Block a user