mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-03-16 15:06:22 +01:00
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_glfuncs.h | ||
SDL_render_gl.c | ||
SDL_shaders_gl.c | ||
SDL_shaders_gl.h |