Branch

  • Show log

    Commit

  • Hash : 76392f4f
    Author : Eric Wasylishen
    Date : 2023-01-11T19:45:01

    Handle DPI scaling in SDL_GetWindowSurface
    
    Fixes DPI awareness of testdrawchessboard (previously, the surface was
    being created in points instead of pixels, resulting in the demo app
    only drawing in a corner of the screen on High-DPI displays)
    
    *_CreateWindowFramebuffer()/*_UpdateWindowFramebuffer(): are updated
    to use SDL_GetWindowSizeInPixels instead of SDL_GetWindowSize() or
    window->w/window->h.
    
    Most of the _CreateWindowFramebuffer backends are untested except
    for Windows.
    
    Fixes #7047
    
    (cherry picked from commit 67c91353e01f6f2c0cc80c17eeddbad6def7cb01)
    

  • 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
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags