Original Post
Hi..All...
My problem...is i just want to redraw a part of main SDL_Surface..So basically i have blitted some 15 images to the screen(main SDL_Surface) now when user clicks on a particular image i want to swap the location of image with an empty location(where no image is blitted)..So for that purpose i want to refresh or Update only that portion of the screen..where this swap is taking place...
i have tried SDL_UpdateRect() ,SDL_UpdateRects() and SDL_Flip()..but as when i try to catch the error if Blitting or updatinig is unsuccessful i get no errors....But still nothing is redrawn on my screen..it remains the same....
How to do?????