Skip to content

Commit

Permalink
squash OnLost
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Sep 21, 2015
1 parent 82d7b53 commit e87d5b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbmc/windowing/osx/WinSystemOSX.mm
Original file line number Diff line number Diff line change
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 e87d5b6

Please sign in to comment.