diff --git a/sdl/whatever/dinowheel.bmp b/sdl/whatever/assets/dinowheel.bmp similarity index 100% rename from sdl/whatever/dinowheel.bmp rename to sdl/whatever/assets/dinowheel.bmp diff --git a/sdl/whatever/sdl_logo.bmp b/sdl/whatever/assets/sdl_logo.bmp similarity index 100% rename from sdl/whatever/sdl_logo.bmp rename to sdl/whatever/assets/sdl_logo.bmp diff --git a/sdl/whatever/whatever.c b/sdl/whatever/whatever.c index 569542a..c1958fb 100644 --- a/sdl/whatever/whatever.c +++ b/sdl/whatever/whatever.c @@ -224,7 +224,7 @@ int init() int loadMedia() { - const char background_imagefile[] = "sdl_logo.bmp"; + const char background_imagefile[] = "assets/sdl_logo.bmp"; gRenderer = SDL_CreateRenderer(gScreen, -1, 0); @@ -250,7 +250,7 @@ int loadMedia() } /* load gPlayer image to practice blit on top of surface*/ - gTemp = SDL_LoadBMP("dinowheel.bmp"); + gTemp = SDL_LoadBMP("assets/dinowheel.bmp"); if (gTemp == NULL){ printf("Unable to load gPlayer: %s/n", SDL_GetError()); return 1;