From e199bddbe3ee4333c74c3fa0e25aea3b4f1c0c2e Mon Sep 17 00:00:00 2001 From: Chris Brunner Date: Thu, 27 Apr 2006 01:33:20 +0000 Subject: [PATCH] Mac support --- panda/src/osxdisplay/osxGraphicsWindow.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/panda/src/osxdisplay/osxGraphicsWindow.cxx b/panda/src/osxdisplay/osxGraphicsWindow.cxx index 184616f8f2..25a4797a30 100644 --- a/panda/src/osxdisplay/osxGraphicsWindow.cxx +++ b/panda/src/osxdisplay/osxGraphicsWindow.cxx @@ -232,8 +232,10 @@ static pascal OSStatus windowEvtHndlr (EventHandlerCallRef myHandler, EventRef e //////////////////////////////////////////////////////////////////// void osxGraphicsWindow::DoResize(void) { + + osxdisplay_cat.debug() << "In Resize Out....." << _properties << "\n"; // only in window mode .. not full screen - if(_osx_window != NULL && _is_fullsreen == false ) + if(_osx_window != NULL && _is_fullsreen == false && _properties.has_size()) { Rect rectPort = {0,0,0,0}; CGRect viewRect = {{0.0f, 0.0f}, {0.0f, 0.0f}};