mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
DolphinWX: Stop using XPM images
Using the XPM format for images has become a maintenance problem because people don't know how to create them. This commit removes all XPM images and all C files that contain PNG images. DolphinWX now uses the PNGs in the Resources folder instead, just like DolphinQt and DolphinQt2 do.
This commit is contained in:
parent
460cef492a
commit
81466d7fa3
52 changed files with 81 additions and 4648 deletions
|
@ -261,8 +261,7 @@ bool GameListItem::ReadPNGBanner(const std::string& path)
|
|||
if (!File::Exists(path))
|
||||
return false;
|
||||
|
||||
wxImage image;
|
||||
image.LoadFile(StrToWxStr(path), wxBITMAP_TYPE_PNG);
|
||||
wxImage image(StrToWxStr(path), wxBITMAP_TYPE_PNG);
|
||||
m_Bitmap = ScaleBanner(&image);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue