• Show log

    Commit

  • Hash : 0d987936
    Author : Eric Wasylishen
    Date : 2021-11-09T22:03:42

    testwm2: Fix video modes menu hit detection when highdpi or logical size used (#4936)
    
    * SDLTest_CommonDrawWindowInfo: log SDL_RenderGetScale, SDL_RenderGetLogicalSize
    
    * testwm2: fix video modes menu hit detection in High DPI cases
    
    - also when logical size is specified, e.g.
      `--logical 640x480 --resizable --allow-highdpi`
    
    * add function to determine logical coordinates of renderer point when given window point
    
    * change since to the targeted milestone
    
    * fix typo
    
    * rename for consistency
    
    * Change logical coordinate type to float, since we can render with floating point precision.
    
    * add function to convert logical to window coordinates
    
    * testwm2: use new SDL_RenderWindowToLogical
    
    * SDL_render.c: alternate SDL_RenderWindowToLogical/SDL_RenderLogicalToWindow
    
    Co-authored-by: John Blat <johnblat64@protonmail.com>
    Co-authored-by: John Blat <47202511+johnblat64@users.noreply.github.com>

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