Skip to content
Snippets Groups Projects
Select Git revision
  • 16bf872117896fb88493403157fcd367303fd1f6
  • for-vairdraw default protected
  • multi-context-windows
3 results

x11_window.c

  • Camilla Löwy's avatar
    16bf8721
    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
    History
    Add content scale queries
    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.