• Show log

    Commit

  • Hash : 51ebefee
    Author : Eric Wasylishen
    Date : 2022-02-28T00:43:43

    Support PMv2 DPI awareness, add SDL_HINT_WINDOWS_DPI_AWARENESS
    
    The hint allows setting a specific DPI awareness ("unaware", "system", "permonitor", "permonitorv2").
    
    This is the first part of High-DPI support on Windows ( https://github.com/libsdl-org/SDL/issues/2119 ).
    It doesn't implement a virtualized SDL coordinate system, which will be
    addressed in a later commit. (This hint could be useful for SDL apps
    that want 1 SDL unit = 1 pixel, though.)
    
    Detecting and behaving correctly under per-monitor V2
    (calling AdjustWindowRectExForDpi where needed) should fix the
    following issues:
    
    https://github.com/libsdl-org/SDL/issues/3286
    https://github.com/libsdl-org/SDL/issues/4712
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/SDL.git
    Git SSH git@git.kmx.io:kc3-lang/SDL.git
    Public access ? public
    Description

    Fork of https://github.com/libsdl-org/SDL

    Users
    kc3_lang_org thodg_w www_kmx_io thodg_l thodg thodg_m
    Tags

  • README.md

  • Simple DirectMedia Layer (SDL) Version 2.0

    https://www.libsdl.org/

    Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve’s award winning catalog and many Humble Bundle games.

    More extensive documentation is available in the docs directory, starting with README.md

    Enjoy!

    Sam Lantinga (slouken@libsdl.org)