Cocoa: small potential issue remained from fullscreen ancient ages in the Window...
authorDamien Plisson <damien.plisson@yahoo.fr>
Wed, 6 Jan 2010 09:22:40 +0000 (09:22 +0000)
committerDamien Plisson <damien.plisson@yahoo.fr>
Wed, 6 Jan 2010 09:22:40 +0000 (09:22 +0000)
intern/ghost/intern/GHOST_WindowCocoa.mm

index 8c9f8a7647d85ae704009a0e87aade2ef43e5fa4..0f8ed741fdfaa0cd6ff17560f9b6c7da48f277ec 100644 (file)
@@ -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);
 }