Original Post
HI I have this function and I cant figure out how to call it because it isn't working, does anyone know how? SDL_Surface *load_image(const char * filename) { SDL_Surface *image; image = SDL_LoadBMP (filename); image = SDL_DisplayFormat (image);return image; } if the image's name was player1 and the file name was "graphics/playerpic.bmp", how would i use the function?