Update code to reflect new file name
This commit is contained in:
parent
795c5d0b93
commit
036b8a8bc9
@ -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]);
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user