diff options
-rw-r--r-- | intern/ghost/intern/GHOST_WindowCocoa.mm | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm index 8c9f8a7647d..0f8ed741fdf 100644 --- a/intern/ghost/intern/GHOST_WindowCocoa.mm +++ b/intern/ghost/intern/GHOST_WindowCocoa.mm @@ -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); } |