Revision: 7874
          http://playerstage.svn.sourceforge.net/playerstage/?rev=7874&view=rev
Author:   thjc
Date:     2009-06-23 06:22:23 +0000 (Tue, 23 Jun 2009)

Log Message:
-----------
change the initial window size of stage to be smaller as some
graphics cards segfault if this is offscreen initially

Modified Paths:
--------------
    code/stage/trunk/libstageplugin/p_simulation.cc

Modified: code/stage/trunk/libstageplugin/p_simulation.cc
===================================================================
--- code/stage/trunk/libstageplugin/p_simulation.cc     2009-06-23 00:16:57 UTC 
(rev 7873)
+++ code/stage/trunk/libstageplugin/p_simulation.cc     2009-06-23 06:22:23 UTC 
(rev 7874)
@@ -111,7 +111,8 @@
   // create a passel of Stage models in the local cache based on the
   // worldfile
 
-  StgDriver::world = new WorldGui( 800,840, "Player/Stage" );
+  // if the initial size is to large this crashes on some systems
+  StgDriver::world = new WorldGui( 400, 300, "Player/Stage" );
   assert(StgDriver::world);
 
   puts("");


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to