Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 653688
Collapse All | Expand All

(-)a/glx/glxscreens.c (-1 / +5 lines)
Lines 271-276 pickFBConfig(__GLXscreen * pGlxScreen, VisualPtr visual) Link Here
271
        /* If it's the 32-bit RGBA visual, demand a 32-bit fbconfig. */
271
        /* If it's the 32-bit RGBA visual, demand a 32-bit fbconfig. */
272
        if (visual->nplanes == 32 && config->rgbBits != 32)
272
        if (visual->nplanes == 32 && config->rgbBits != 32)
273
            continue;
273
            continue;
274
        /* If it's the 32-bit RGBA visual, do not pick sRGB capable config.
275
         * This can cause issues with compositors that are not sRGB aware.
276
         */
277
        if (visual->nplanes == 32 && config->sRGBCapable == GL_TRUE)
278
            continue;
274
        /* Can't use the same FBconfig for multiple X visuals.  I think. */
279
        /* Can't use the same FBconfig for multiple X visuals.  I think. */
275
        if (config->visualID != 0)
280
        if (config->visualID != 0)
276
            continue;
281
            continue;
277
- 

Return to bug 653688