The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL_RenderCopy weird bug
tjpalmer


Joined: 02 Mar 2015
Posts: 8
Hello! First post here. I have a single 320x200 texture that I draw scaled with SDL_RenderCopy, and I still get pixel artifacts within the scaled image. Look between the middle rows of these bricks: Is this to be expected? And what's the best workaround? Currently, I'm imagining either (1) render a higher-pixel texture manually or (2) learn deep GL voodoo (including pixel shaders). I'm pretty sure the first would work, but it would get more CPU intensive. I know very little GL, so that's a steep learning curve, and I'd presumably still have lots of ropes to learn. Thanks much for any advice. I posted in this topic, because it seems related, although I'm not rendering multiple tiles here, just one 320x200 texture with tile-looking things inside it.