how would i go about capturing my computer's screen with SDL? is this possible with SDL? i wanted to try something like applying a surface to the main renderer (if that makes any sense either) and then call:
SDL_SaveBMP(back_buffer, "screen.png");
how would i do what i want to do if it is possible? has anyone done this before?