Cocoa: small potential issue remained from fullscreen ancient ages in the Window getValid function

This commit is contained in:
Damien Plisson 2010-01-06 09:22:40 +00:00
parent b38a727da3
commit ef8273428c

@ -398,14 +398,7 @@ GHOST_WindowCocoa::~GHOST_WindowCocoa()
bool GHOST_WindowCocoa::getValid() const
{
bool valid;
if (!m_fullScreen) {
valid = (m_window != 0); //&& ::IsValidWindowPtr(m_windowRef);
}
else {
valid = true;
}
return valid;
return (m_window != 0);
}