I came upon an OpenGL project which uses C++. The project loads an image as a texture and pixelates it until the entire image is gone. The complete image is shown again and starts pixelating (shredding).Program screenshots- https://docs.google.com/file/d/0B9_LfmbkgISpbm1nTXk3Nk1UWHM/edit https://docs.google.com/file/d/0B9_LfmbkgISpbVBCdlZIbXNhUVE/edit I want to include multiple images which loads and pixelates. After the 1st image pixelates, the 2nd image should be loaded and pixelated and so on, in a loop.I tried using if-else ladder in RePaint() function to do so, but it doesn't work. Please help me. In which function should I include a loop? Urgent! I've put the code here- https://stackoverflow.com/questions/23356917/opengl-project-using-c-looping-help-neededThanks!