mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-22 01:57:18 +01:00
061cc5e75f
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. |
||
---|---|---|
.. | ||
SDL_gles2funcs.h | ||
SDL_render_gles2.c | ||
SDL_shaders_gles2.c | ||
SDL_shaders_gles2.h |