Skip to content
  • Adam Jackson's avatar
    glx: Stop specifying GLX_DEPTH_SIZE · 3d9555a8
    Adam Jackson authored and Víctor Manuel Jáquez Leal's avatar Víctor Manuel Jáquez Leal committed
    This code is just confused. It's asking for at least as many bits of
    (z-axis) depth as the root window has bits of (color) depth. For rgb565
    or rgb888 this is harmless, but at 10 bits per channel this demands a
    30-bit or deeper Z buffer. While some hardware could in principle do a
    32-bit Z buffer, Mesa does not expose such fbconfigs (at least on Intel
    and AMD).
    
    We're not actually using the Z buffer, so just stop asking for one.
    3d9555a8