Skip to content

Commit

Permalink
squash OnLost
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Sep 20, 2015
1 parent 75e643d commit 3e7c80d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbmc/windowing/osx/WinSystemOSX.mm
Expand Up @@ -1791,7 +1791,7 @@ static void DisplayReconfigured(CGDirectDisplayID display,
// tell any shared resources
CLog::Log(LOGDEBUG, "CWinSystemOSX::AnnounceOnLostDevice");
for (std::vector<IDispResource *>::iterator i = m_resources.begin(); i != m_resources.end(); i++)
(*i)->OnLostDevice();
(*i)->OnLostDisplay();
}

void CWinSystemOSX::AnnounceOnResetDevice()
Expand All @@ -1800,7 +1800,7 @@ static void DisplayReconfigured(CGDirectDisplayID display,
// tell any shared resources
CLog::Log(LOGDEBUG, "CWinSystemOSX::AnnounceOnResetDevice");
for (std::vector<IDispResource *>::iterator i = m_resources.begin(); i != m_resources.end(); i++)
(*i)->OnResetDevice();
(*i)->OnResetDisplay();
}

void* CWinSystemOSX::GetCGLContextObj()
Expand Down

0 comments on commit 3e7c80d

Please sign in to comment.