• Brendan Shanks's avatar
    winemac: Initialize retina_on to avoid incorrect cached display data in high-res/retina mode. · d2789ef0
    Brendan Shanks authored
    retina_on was being set (indirectly) by check_retina_status(), but it
    relies on retina_on itself.
    This resulted in incorrect (non-retina) monitor and work RECTs being
    cached, causing odd application bugs like a window that won't resize
    larger than 1/4 of the screen.
    
    Initialize retina_on to the value of retina_enabled, so later calls
    to check_retina_status() don't result in incorrect data being cached.
    d2789ef0
macdrv_main.c 23.5 KB