mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-09-23 07:28:35 +02: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_glfuncs.h | ||
SDL_render_gl.c | ||
SDL_shaders_gl.c | ||
SDL_shaders_gl.h |