mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 07:45:33 +01:00
Merge pull request #5603 from sepalani/png-warn
Silent GameList PNG warnings
This commit is contained in:
commit
73be025847
@ -143,6 +143,9 @@ bool DolphinApp::OnInit()
|
|||||||
// Enable the PNG image handler for screenshots
|
// Enable the PNG image handler for screenshots
|
||||||
wxImage::AddHandler(new wxPNGHandler);
|
wxImage::AddHandler(new wxPNGHandler);
|
||||||
|
|
||||||
|
// Silent PNG warnings from some homebrew banners: "iCCP: known incorrect sRGB profile"
|
||||||
|
wxImage::SetDefaultLoadFlags(wxImage::GetDefaultLoadFlags() & ~wxImage::Load_Verbose);
|
||||||
|
|
||||||
// We have to copy the size and position out of SConfig now because CFrame's OnMove
|
// We have to copy the size and position out of SConfig now because CFrame's OnMove
|
||||||
// handler will corrupt them during window creation (various APIs like SetMenuBar cause
|
// handler will corrupt them during window creation (various APIs like SetMenuBar cause
|
||||||
// event dispatch including WM_MOVE/WM_SIZE)
|
// event dispatch including WM_MOVE/WM_SIZE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user