• Show log

    Commit

  • Hash : 8272ed18
    Author : Sam Lantinga
    Date : 2014-08-16T23:25:02

    Fixed bug 2687 - SDL_BlitScaled does not handle clipping correctly
    
    Patch from Benoit Pierre:
    
    video: fix clipping handling in SDL_UpperBlitScaled
    
    - honor destination clipping rectangle
    - update both destination and source rectangles when clipping source
      rectangle to source surface and destination rectangle to destination
      clip rectangle
    - don't change scaling factors when clipping
    
    N.B.:
    
    - when no scaling is involved (source and destination width/height are
      the same), SDL_UpperBlit is used (so SDL_BlitScaled behaves like
      SDL_BlitSurface)
    - the final destination rectangle after all clipping is performed is
      saved back to dstrect (like for SDL_UpperBlit)
    

  • 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