From ef8273428c5261b947e69e3d5e97b46a82893171 Mon Sep 17 00:00:00 2001 From: Damien Plisson Date: Wed, 6 Jan 2010 09:22:40 +0000 Subject: Cocoa: small potential issue remained from fullscreen ancient ages in the Window getValid function --- intern/ghost/intern/GHOST_WindowCocoa.mm | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'intern/ghost') 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); } -- cgit v1.2.3