Update code to reflect new file name

This commit is contained in:
Tyler Perkins 2021-12-22 18:37:57 -05:00
parent 795c5d0b93
commit 036b8a8bc9
2 changed files with 5 additions and 4 deletions

View File

@ -21,10 +21,11 @@ dashboard::panel::panel* OVERLAY = new dashboard::panel::def_overlay();
// IMAGE_LOCATIONS
// Locations of all static images used
const char* IMAGE_LOCATIONS[] = {
"bmp_24.png",
"sky.png",
"wifi_background.jpg",
//"bmp_24.png",
"wifi.png",
"weather_background.png",
"wifi_background.jpg",
};
size_t IMAGE_LOCATIONS_LENGTH = sizeof(IMAGE_LOCATIONS)/sizeof(IMAGE_LOCATIONS[0]);

View File

@ -138,7 +138,7 @@ void weather::update_texture(){
//background image
SDL_RenderCopy(board::getRenderer(),
board::getImage("sky.png"), NULL, NULL);
board::getImage("weather_background.png"), NULL, NULL);
//current weather
tgt.y = 50;