Xcode-iPhoneOS/Demos/src/happy.c
changeset 5214 b0797947dd1c
parent 5213 25ad4a50d34f
equal deleted inserted replaced
5213:25ad4a50d34f 5214:b0797947dd1c
   162         if (delay < 0) {
   162         if (delay < 0) {
   163             delay = 0;
   163             delay = 0;
   164         } else if (delay > MILLESECONDS_PER_FRAME) {
   164         } else if (delay > MILLESECONDS_PER_FRAME) {
   165             delay = MILLESECONDS_PER_FRAME;
   165             delay = MILLESECONDS_PER_FRAME;
   166         }
   166         }
   167         //SDL_Delay(delay);
   167         SDL_Delay(delay);
   168     }
   168     }
   169 
   169 
   170     /* cleanup */
   170     /* cleanup */
   171     SDL_DestroyTexture(texture);
   171     SDL_DestroyTexture(texture);
   172     /* shutdown SDL */
   172     /* shutdown SDL */