~rabbits/hiversaires

5a6ebde002368f52f54a11bda9db4c277520ce80 — Rezmason 2 years ago ab058f0 master
Removing redundant calls to SDL render functions in playground
1 files changed, 0 insertions(+), 4 deletions(-)

M src/playground.c
M src/playground.c => src/playground.c +0 -4
@@ 200,8 200,6 @@ static void
render(SDL_Renderer *renderer)
{
	int i;
	SDL_RenderClear(renderer);

	for(i = 0; i < NUM_SEALS; i++) {
		Particle *p = &state.particles[i];
		particleRect.x = p->x;


@@ 210,8 208,6 @@ render(SDL_Renderer *renderer)
		SDL_SetTextureAlphaMod(seals[i]->texture, 0xFF /*p->a*/);
		SDL_RenderCopyEx(renderer, seals[i]->texture, NULL, &particleRect, p->angle, &particleCenter, 0);
	}

	SDL_RenderPresent(renderer);
}

static void