Quantcast
Channel: User HolyBlackCat - Stack Overflow
Viewing all articles
Browse latest Browse all 1313

Comment by HolyBlackCat on SDL2: How to draw without clearing

$
0
0
Firstly, SDL_WINDOW_METAL is for manually using Metal, I think? Since you're not, I'd remove it. Second, even without that, I don't think not clearing the renderer every frame is portable. You should draw to a texture instead (which will be persistent), and draw that to the screen.

Viewing all articles
Browse latest Browse all 1313

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>