mirror of https://github.com/libsdl-org/SDL.git
Sylvain OpenGLES2 SDL renderer has support for textures ARGB, ABGR, RGB and BGR, whereas OpenGL SDL renderer only had ARGB. If you think it's worth adding it, here's a patch. I quickly tried and it worked, but there may be missing things or corner case. |
||
|---|---|---|
| .. | ||
| SDL_glfuncs.h | ||
| SDL_render_gl.c | ||
| SDL_shaders_gl.c | ||
| SDL_shaders_gl.h | ||