summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/gamma/gamma_inithw.c
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-07-20 20:26:28 +0200
committerMichel Dänzer <daenzer@vmware.com>2009-07-20 20:34:04 +0200
commit5ed440400573631f540701f3efd479d8c1592007 (patch)
treebe516caa05697b67447b35da6306bb9e9e6b326a /src/mesa/drivers/dri/gamma/gamma_inithw.c
parentcd10996d4f517c69e306eaf6dfb0654432651b3a (diff)
radeon: With DRI1, if we have HW stencil, only expose fbconfigs with stencil.
Otherwise simple apps like glxgears pick up a DirectColor visual since the X server mixes the depth 32 visual in with the other GLX visuals, and this seems to result in a (mostly) black screen due to a bad ColorMap for a lot of people. The bad ColorMap may be a bug in the apps, the X server or X driver, and regardless of that I think the X server should ideally make the depth 32 GLX visual separate from the rest again, but in the meantime this makes us cope. (depth_bits is either 16 or 24, never 0)
Diffstat (limited to 'src/mesa/drivers/dri/gamma/gamma_inithw.c')
0 files changed, 0 insertions, 0 deletions