diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-01-08 18:52:14 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-01-08 18:52:14 +0100 |
commit | d75f0dfb7a040ff88c39e01fa639ff74300f11a2 (patch) | |
tree | 7ac20d9c89778c353e355731dd74bde59646aca1 /main.c | |
parent | c6f994c51f29770be493ac3aaf76f71fccc4269f (diff) |
blit the background only once (no need for a weird function)
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -243,6 +243,9 @@ int Fchargerimages (SURFACES *surfaces) for (i = 0;i < 5;i++) surfaces->Tennemi[i] = surfaces->Pgobelin; + LOAD_IMAGE(background, "images/jeu/textures/background.jpg"); + surfaces->Pfondjeu = surfaces->background; + #undef LOAD_IMAGE //définition de la transparence alpha dans les surfaces |