Simple Directmedia Layer
Go to file
Sam Lantinga 8272ed1819 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)
2014-08-16 23:25:02 -07:00
VisualC Turned on OmitDefaultLibName for SDL, SDLmain and SDLtest 2014-07-27 19:56:53 -07:00
VisualC-WinRT Made the latest XInput + Haptic changes compile and run on WinRT 2014-07-04 18:20:23 -04:00
Xcode Strip the binaries before signing them, in release configuration 2014-07-08 00:23:36 -07:00
Xcode-iOS Fixed bug 2626 - iOS: fix test and template Xcode projects and build scripts to link with CoreMotion 2014-07-07 10:42:19 -07:00
acinclude Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
android-project Fixed warning about implicit boxing to Java Object. 2014-08-12 23:33:16 +02:00
build-scripts Fixed indentation for pnacl configuration 2014-07-07 11:13:19 -07:00
cmake Fixed bug 2618 - incomplete pthread-based lock support should be removed 2014-07-07 21:27:42 -07:00
debian Added libibus-1.0-dev build dependency 2014-06-21 17:31:36 -07:00
docs Fixed markdown formatting in READMEs. 2014-08-15 23:39:14 +02:00
include Added SDL_round(), contributed by Benoit Pierre - thanks! 2014-08-16 23:23:15 -07:00
premake Fixed bug 2618 - incomplete pthread-based lock support should be removed 2014-07-07 21:27:42 -07:00
src Fixed bug 2687 - SDL_BlitScaled does not handle clipping correctly 2014-08-16 23:25:02 -07:00
test Haptic: Add some missing haptic types to test, and fix wrong array-sizes. 2014-08-16 16:50:10 -04:00
visualtest Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
.hgignore Added audio device buffer queueing API. 2014-07-22 21:41:49 -04:00
Android.mk Implemented SDL_GetPrefPath() on Android - it returns the path used by SDL_AndroidGetInternalStoragePath() 2014-08-11 17:25:53 -07:00
BUGS.txt Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
CMakeLists.txt Added SDL_round(), contributed by Benoit Pierre - thanks! 2014-08-16 23:23:15 -07:00
COPYING.txt Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
CREDITS.txt Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
INSTALL.txt Moved documentation to docs, recreated a simple README.txt, fixed build 2014-07-29 08:04:15 -07:00
Makefile.in Make autoconf-based build quiet by default. 2014-06-19 00:40:09 -04:00
Makefile.minimal Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
Makefile.pandora Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
Makefile.psp Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
Makefile.wiz Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
README-SDL.txt Moved documentation to docs, recreated a simple README.txt, fixed build 2014-07-29 08:04:15 -07:00
README.txt Moved documentation to docs, recreated a simple README.txt, fixed build 2014-07-29 08:04:15 -07:00
SDL2.spec.in Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
TODO.txt Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
VisualC.html Fixed nesting of HTML elements in documentation. 2014-06-09 17:37:59 +02:00
WhatsNew.txt Chrome's Native Client backend implementation 2014-06-06 15:45:59 -03:00
autogen.sh Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
cmake_uninstall.cmake.in Add suport for "make uninstall" to cmake. 2014-06-16 10:58:09 -03:00
configure Added SDL_round(), contributed by Benoit Pierre - thanks! 2014-08-16 23:23:15 -07:00
configure.in Added SDL_round(), contributed by Benoit Pierre - thanks! 2014-08-16 23:23:15 -07:00
sdl2-config.in Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
sdl2.m4 Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
sdl2.pc.in Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00

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)