diff options
author | Damien Plisson <damien.plisson@yahoo.fr> | 2010-01-06 12:22:40 +0300 |
---|---|---|
committer | Damien Plisson <damien.plisson@yahoo.fr> | 2010-01-06 12:22:40 +0300 |
commit | ef8273428c5261b947e69e3d5e97b46a82893171 (patch) | |
tree | ce3406c5e7a58b8f264b3932d6386a0dbe223442 /intern/ghost | |
parent | b38a727da3ec458a4dc8be1fc1fffb89115b69d3 (diff) |
Cocoa: small potential issue remained from fullscreen ancient ages in the Window getValid function
Diffstat (limited to 'intern/ghost')
-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); } |