Re: reading pixels from a TARGET texture
"ancientcc" <[email protected]>
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <[email protected]> |
As far as I know, you need to change RenderReadPixels method of SDL_Renderer. Below is my modified version. ---------------------------------------------------------------------------- ------ OpenGL(function GL_RenderReadPixels): https://github.com/freeors/SDL/blob/master/SDL2-2.0.4/src/render/opengl/SDL_ render_gl.c OpenGL ES2(function GLES2_RenderReadPixels): https://github.com/freeors/SDL/blob/master/SDL2-2.0.4/src/render/opengles2/S DL_render_gles2.c