Re: Change TEXTURE_ACCESS from TARGET to STREAMING

"rtrussell" <[email protected]>
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
Travis McKinney wrote:
> it still bugs me that i would be able to see a texture that has nothing to do there...

Can't you clear it before your SDL_RenderPresent, for example with SDL_RenderClear?  In my application it's not an issue because the entire window is rendered every frame so any 'temporary' textures get overwritten anyway.  It's an ideal solution for me because it doesn't depend on the bug being present (it will work either way) and it's typically faster than SDL_RenderReadPixels anyway, so it's a win-win situation.

Richard.

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.