diff options
author | Dave Airlie <airlied@linux.ie> | 2005-12-22 23:32:49 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2005-12-22 23:32:49 +0000 |
commit | 6e2086395d99081d8d682b90cec650a06e41fc2c (patch) | |
tree | 5b1741ccd7b01678807ac12172b0323c87fdaf7a /hw/xgl | |
parent | f3ae42c0fd910b7f9feb9be91ccb056bce0cd999 (diff) |
fixups for newer glitz API
Diffstat (limited to 'hw/xgl')
-rw-r--r-- | hw/xgl/egl/xegl.c | 6 | ||||
-rw-r--r-- | hw/xgl/glx/xglx.c | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/hw/xgl/egl/xegl.c b/hw/xgl/egl/xegl.c index aa2252a47..d250ff29f 100644 --- a/hw/xgl/egl/xegl.c +++ b/hw/xgl/egl/xegl.c @@ -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++) { diff --git a/hw/xgl/glx/xglx.c b/hw/xgl/glx/xglx.c index 515d393a3..b8ab38942 100644 --- a/hw/xgl/glx/xglx.c +++ b/hw/xgl/glx/xglx.c @@ -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++) { |