SDL/src
Sam Lantinga 51d6371ec1 Fixed bug 3350 - GL renderers don't need to flip rows after reading back pixels from the target texture
Simon Hug

All OpenGL renderers always flip the rows of the pixels that come from glReadPixels. This is unnecessary for target textures since these are already top down.

Also, the rect->y value can be used directly for target textures for the same reason. I don't see any code that would handle the logical render size for target textures. Or am I missing something?

The attached patch makes the renderers only the flip rows if the data comes from the default framebuffer.
2016-10-01 11:34:04 -07:00
..
atomic Updated copyright to 2016 2016-01-02 10:10:34 -08:00
audio Mac: Fixed whitespace around function return type. 2016-09-21 23:06:49 +02:00
core Android: Fixed two warnings about unused variables. 2016-09-21 23:06:26 +02:00
cpuinfo Updated copyright to 2016 2016-01-02 10:10:34 -08:00
dynapi Added SDL_SetWindowResizable(). (thanks, Ethan!) 2016-09-29 22:52:41 -04:00
events Fixed crash if allocating memory for mouse clicks failed. 2016-09-30 23:30:54 +02:00
file Updated copyright to 2016 2016-01-02 10:10:34 -08:00
filesystem Fixed compiling if filesystem is disabled (thanks, Elias!). 2016-08-30 21:14:13 +02:00
haptic Linux: Fixed memory leak in haptic implementation (thanks, Martin!). 2016-07-20 21:01:14 +02:00
joystick Added a new hint SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION. 2016-09-17 01:31:07 -03:00
libm Updated copyright to 2016 2016-01-02 10:10:34 -08:00
loadso Enable SDL_LoadObject on iOS 8+ and tvOS. 2016-09-25 15:02:06 -03:00
main Updated version to 2.0.5 in preparation for release 2016-09-28 22:24:01 -07:00
power Initial Apple TV / tvOS support. 2016-09-13 22:18:06 -03:00
render Fixed bug 3350 - GL renderers don't need to flip rows after reading back pixels from the target texture 2016-10-01 11:34:04 -07:00
stdlib Quick fix for qsort off-by-one error. 2016-03-11 08:30:18 -08:00
test We should be using a string constant for the strftime format string 2016-10-01 10:38:15 -07:00
thread Fixed bug 3388 - Fail to build src/thread/windows/SDL_systhread.c on MinGW 4.9.3 2016-10-01 10:08:34 -07:00
timer threads: Move SDL's own thread creation to a new internal API. 2016-04-12 16:45:10 -04:00
video Fixed bug 3352 - Adding alpha mask support to SDL_SaveBMP_RW 2016-10-01 11:29:13 -07:00
SDL.c Initial Apple TV / tvOS support. 2016-09-13 22:18:06 -03:00
SDL_assert.c Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_assert_c.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_error.c Only use GCC pragmas when we're building with GCC 2016-10-01 11:22:39 -07:00
SDL_error_c.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_hints.c Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_internal.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_log.c Updated copyright to 2016 2016-01-02 10:10:34 -08:00