fixups for newer glitz API

This commit is contained in:
Dave Airlie 2005-12-22 23:32:49 +00:00
parent f3ae42c0fd
commit 6e2086395d
2 changed files with 2 additions and 10 deletions

View File

@ -563,15 +563,11 @@ InitOutput (ScreenInfo *pScreenInfo,
glitz_egl_init (NULL);
}
templ.types.window = 1;
templ.types.pbuffer = 1;
templ.samples = 1;
templ.doublebuffer = 1;
templ.color.alpha_size = 8;
mask =
GLITZ_FORMAT_WINDOW_MASK |
GLITZ_FORMAT_SAMPLES_MASK;
mask = GLITZ_FORMAT_SAMPLES_MASK;
for (i = 0; i < sizeof (extraMask) / sizeof (extraMask[0]); i++)
{

View File

@ -550,15 +550,11 @@ InitOutput (ScreenInfo *pScreenInfo,
xscreen = DefaultScreen (xdisplay);
}
templ.types.window = 1;
templ.types.pbuffer = 1;
templ.samples = 1;
templ.doublebuffer = 1;
templ.color.alpha_size = 8;
mask =
GLITZ_FORMAT_WINDOW_MASK |
GLITZ_FORMAT_SAMPLES_MASK;
mask = GLITZ_FORMAT_SAMPLES_MASK;
for (i = 0; i < sizeof (extraMask) / sizeof (extraMask[0]); i++)
{