Ryujinx-SDL/src/render/opengl
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_glfuncs.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_render_gl.c Fixed bug 3349 - GLES2_RenderReadPixels doesn't use target texture format 2016-10-01 11:38:53 -07:00
SDL_shaders_gl.c Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_shaders_gl.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00