mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-27 06:48:33 +00:00
Merge pull request #3434 from lioncash/enum
OnScreenDisplay: Make CallbackType an enum class
This commit is contained in:
commit
ca7160f714
7 changed files with 14 additions and 14 deletions
|
@ -153,7 +153,7 @@ void VideoSoftware::Shutdown()
|
|||
DebugUtil::Shutdown();
|
||||
|
||||
// Do our OSD callbacks
|
||||
OSD::DoCallbacks(OSD::OSD_SHUTDOWN);
|
||||
OSD::DoCallbacks(OSD::CallbackType::Shutdown);
|
||||
|
||||
SWOGLWindow::Shutdown();
|
||||
}
|
||||
|
@ -166,7 +166,7 @@ void VideoSoftware::Video_Cleanup()
|
|||
void VideoSoftware::Video_Prepare()
|
||||
{
|
||||
// Do our OSD callbacks
|
||||
OSD::DoCallbacks(OSD::OSD_INIT);
|
||||
OSD::DoCallbacks(OSD::CallbackType::Initialization);
|
||||
|
||||
SWRenderer::Prepare();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue