Sun, 17 Aug 2014 14:44:53 -0700 Fixed bug 2685 - SDL_RenderReadPixels() doesn't work with offscreen targets
Sam Lantinga <slouken@libsdl.org> [Sun, 17 Aug 2014 14:44:53 -0700] rev 9085
Fixed bug 2685 - SDL_RenderReadPixels() doesn't work with offscreen targets Andreas Falkenhahn SDL_RenderReadPixels() doesn't seem to work when trying to read pixels from a texture that has been created using SDL_TEXTUREACCESS_TARGET and has been selected as the render target using SDL_SetRenderTarget(). I am attaching a small program that demonstrates the issue. I get the following result here: READ PIXEL RETURN: 0 --- COLOR CHECK: ff000000 But it should be: READ PIXEL RETURN: 0 --- COLOR CHECK: ffff0000 Tested with SDL 2.0.3 on Windows 7.
Sun, 17 Aug 2014 14:34:41 -0700 Fixed bug where the render target is updated instead of the default output when the window is resized.
Sam Lantinga <slouken@libsdl.org> [Sun, 17 Aug 2014 14:34:41 -0700] rev 9084
Fixed bug where the render target is updated instead of the default output when the window is resized.
Sun, 17 Aug 2014 13:49:53 -0700 Reset CMAKE_REQUIRED_FLAGS after test
Sam Lantinga <slouken@libsdl.org> [Sun, 17 Aug 2014 13:49:53 -0700] rev 9083
Reset CMAKE_REQUIRED_FLAGS after test
Sun, 17 Aug 2014 13:15:45 -0700 cmake: add -Wl,--no-undefined to GCC linker flags
Sam Lantinga <slouken@libsdl.org> [Sun, 17 Aug 2014 13:15:45 -0700] rev 9082
cmake: add -Wl,--no-undefined to GCC linker flags This way unresolved symbols will be detected when linking the shared library version.
Sun, 17 Aug 2014 13:15:09 -0700 cmake: add -Wall/-Wshadow to GCC compilation flags
Sam Lantinga <slouken@libsdl.org> [Sun, 17 Aug 2014 13:15:09 -0700] rev 9081
cmake: add -Wall/-Wshadow to GCC compilation flags
Sun, 17 Aug 2014 13:11:55 -0700 Removed SDL_round() because the license wasn't compatible with zlib
Sam Lantinga <slouken@libsdl.org> [Sun, 17 Aug 2014 13:11:55 -0700] rev 9080
Removed SDL_round() because the license wasn't compatible with zlib
Sun, 17 Aug 2014 10:10:41 -0700 Fixed bug 2688 - failure to build test/loopwavequeue.c on Linux
Sam Lantinga <slouken@libsdl.org> [Sun, 17 Aug 2014 10:10:41 -0700] rev 9079
Fixed bug 2688 - failure to build test/loopwavequeue.c on Linux
Sat, 16 Aug 2014 23:30:44 -0700 Fixed bug 2681 - dereference a NULL pointer dst_fmt in SDL_CreateTextureFromSurface function
Sam Lantinga <slouken@libsdl.org> [Sat, 16 Aug 2014 23:30:44 -0700] rev 9078
Fixed bug 2681 - dereference a NULL pointer dst_fmt in SDL_CreateTextureFromSurface function Nitz In SDL_CreateTextureFromSurface: SDL_PixelFormat *dst_fmt; /* Set up a destination surface for the texture update */ dst_fmt = SDL_AllocFormat(format); temp = SDL_ConvertSurface(surface, dst_fmt, 0); Here is need of NULL check for dst_fmt because there are chances of NULL return from SDL_AllocFormat(format);
Sat, 16 Aug 2014 23:28:40 -0700 Fixed bug 2683 - Raspberry PI support using CMake
Sam Lantinga <slouken@libsdl.org> [Sat, 16 Aug 2014 23:28:40 -0700] rev 9077
Fixed bug 2683 - Raspberry PI support using CMake Tobias Himmer this patch adds a check to the CMake build script to detect whether the VideoCore API is available. If it is found, it enables SDL_VIDEO_DRIVER_RPI and will also add the needed include/library directory flags to CMAKE_C_FLAGS so the subsequent check for GLES succeeds in picking up the headers. Seems to work fine on Raspbian.
Sat, 16 Aug 2014 23:25:02 -0700 Fixed bug 2687 - SDL_BlitScaled does not handle clipping correctly
Sam Lantinga <slouken@libsdl.org> [Sat, 16 Aug 2014 23:25:02 -0700] rev 9076
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)
(0) -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 tip