Skip to content
Snippets Groups Projects
Commit e9f5b6b8 authored by SmallIshMink's avatar SmallIshMink
Browse files

Avant modification rotate screen

parent 08d29fcb
No related branches found
No related tags found
No related merge requests found
...@@ -67,6 +67,7 @@ void refresh_graphics(SDL_Renderer *renderer, world_t *world,ressources_t *textu ...@@ -67,6 +67,7 @@ void refresh_graphics(SDL_Renderer *renderer, world_t *world,ressources_t *textu
// on met à jour l'écran // on met à jour l'écran
update_screen(renderer); update_screen(renderer);
} }
......
...@@ -38,7 +38,8 @@ struct ressources_s{ ...@@ -38,7 +38,8 @@ struct ressources_s{
SDL_Texture* finishLine; /*!< Texture liée à l'image de la ligne d'arrivée. */ SDL_Texture* finishLine; /*!< Texture liée à l'image de la ligne d'arrivée. */
TTF_Font *font; // Font TTF_Font *font; // Font
SDL_Color color; // Color SDL_Color color; // Color
/* A COMPLETER */ SDL_Texture* framebuffer;
uint32_t* pixels;
}; };
typedef struct ressources_s ressources_t; typedef struct ressources_s ressources_t;
......
No preview for this file type
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment