Is anyone familiar with "removing" an image from screen with SDL? It's just simply a toggle on/off function that i'm looking for. I don't really want to free/release the image, since i intend on using it again throughout the program.
switch (e.key.keysym.sym)
{
case SDLK_a:
drawSDL_RenderFillRect(...);
break;
case SDLK_b:
**remove the rect**
break;
}
Cheers,