Skip to content

Commit

Permalink
Merge pull request #76226 from db48x/fix-image-format
Browse files Browse the repository at this point in the history
change the loading screen to a png file instead of avif
  • Loading branch information
Maleclypse authored Sep 6, 2024
2 parents 84eace8 + c949b58 commit d5f5f2d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file removed gfx/cdda.avif
Binary file not shown.
Binary file added gfx/cdda.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/loading_ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ static void update_state( const std::string &context, const std::string &step )
} );

#ifdef TILES
cata_path path = PATH_INFO::gfxdir() / "cdda.avif";
cata_path path = PATH_INFO::gfxdir() / "cdda.png";
SDL_Surface_Ptr surf = load_image( path.get_unrelative_path().u8string().c_str() );
gLUI->splash_size = { static_cast<float>( surf->w ), static_cast<float>( surf->h ) };
gLUI->splash = CreateTextureFromSurface( get_sdl_renderer(), surf );
Expand Down

0 comments on commit d5f5f2d

Please sign in to comment.