• Camilla Löwy's avatar
    Add content scale queries · 16bf8721
    Camilla Löwy authored
    This adds glfwGetWindowContentScale and glfwGetMonitorContentScale for
    querying the recommended drawing scale factor for DPI-aware rendering.
    
    Parts of this patch are based on code by @ferreiradaselva.
    
    Fixes #235.
    Fixes #439.
    Fixes #677.
    Fixes #845.
    Fixes #898.
    16bf8721
internal.h 35.7 KB