Skip to content
  • Michel Dänzer's avatar
    xfree86/modes: Remove xf86RandR12CrtcGetGamma · 17213b74
    Michel Dänzer authored and Michel Dänzer's avatar Michel Dänzer committed
    
    
    This would normally return the same values the core RandR code passed to
    xf86RandR12CrtcSetGamma before, which is rather pointless. The only
    possible exception would be if a driver tried initializing
    crtc->gamma_red/green/blue to reflect the hardware LUT state on startup,
    but that can't work correctly if whatever set the LUT before the server
    started was running at a different depth.
    
    Even the pointless round-trip case will no longer work with the
    following change.
    
    Reviewed-by: default avatarKeith Packard <keithp@keithp.com>
    17213b74