forked from bartvdbraak/blender
Cocoa: small potential issue remained from fullscreen ancient ages in the Window getValid function
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user