Lines Matching defs:updates
249 SDL_Rect updates[2];
254 updates[0] = position;
255 SDL_BlitSurface(backing, NULL, screen, &updates[0]);
257 updates[0].x = 0; updates[0].y = 0;
258 updates[0].w = 0; updates[0].h = 0;
295 updates[1] = position;
296 SDL_BlitSurface(screen, &updates[1], backing, NULL);
299 updates[1] = position;
300 SDL_BlitSurface(sprite, NULL, screen, &updates[1]);
303 SDL_UpdateRects(screen, 2, updates);
308 SDL_Rect updates[2];
311 updates[0] = position;
312 SDL_BlitSurface(backing, NULL, screen, &updates[0]);
315 updates[1] = position;
316 SDL_BlitSurface(screen, &updates[1], backing, NULL);
317 updates[1] = position;
318 SDL_BlitSurface(sprite, NULL, screen, &updates[1]);
319 SDL_UpdateRects(screen, 2, updates);