Browse Source

glx: assign per screen driver configs (DRI)

tags/mesa_7_5_1
RALOVICH, Kristóf 16 years ago
parent
commit
d090ba9e00
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/glx/x11/dri_glx.c

+ 2
- 0
src/glx/x11/dri_glx.c View File

@@ -418,6 +418,8 @@ CallCreateNewScreen(Display *dpy, int scrn, __GLXscreenConfigs *psc,
psc->configs = driConvertConfigs(psc->core, psc->configs, driver_configs);
psc->visuals = driConvertConfigs(psc->core, psc->visuals, driver_configs);

psc->driver_configs = driver_configs;

/* Visuals with depth != screen depth are subject to automatic compositing
* in the X server, so DRI1 can't render to them properly. Mark them as
* non-conformant to prevent apps from picking them up accidentally.

Loading…
Cancel
Save