sdl2_frt/src/render/opengles2
Sam Lantinga 061cc5e75f Fixed bug 3349 - GLES2_RenderReadPixels doesn't use target texture format
Simon Hug

The OpenGL ES 2 renderer does not check the target texture format when using SDL_RenderReadPixels and just always uses ABGR8888. This can result in swapped or wrong colors.

The attached patch adds a check and selects the target texture format, if a texture is set as the target.
2016-10-01 11:38:53 -07:00
..
SDL_gles2funcs.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_render_gles2.c Fixed bug 3349 - GLES2_RenderReadPixels doesn't use target texture format 2016-10-01 11:38:53 -07:00
SDL_shaders_gles2.c Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_shaders_gles2.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00