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

  • README.txt

  •                          Simple DirectMedia Layer
    
                                      (SDL)
    
                                    Version 2.0
    
    ---
    http://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)