Skip to content
Snippets Groups Projects
Commit 19f135ce authored by Le-Bao-Tin.Ha's avatar Le-Bao-Tin.Ha
Browse files

corriger GAME.c

parent 2b331543
No related branches found
No related tags found
4 merge requests!8Modele,!7Modele,!6Modele,!5Modele Version 1
......@@ -13,24 +13,6 @@
#define WINDOW_WIDTH (700)
#define WINDOW_HEIGHT (700)
//GAME Functions
void createtexture(SDL_Window * win, SDL_Renderer* rend, SDL_Texture * texture, char * path){
texture = IMG_LoadTexture(rend, path);
if (!texture)
{
printf("error creating texture: %s\n", SDL_GetError());
SDL_DestroyRenderer(rend);
SDL_DestroyWindow(win);
SDL_Quit();
return 1;
}
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment