فهرست منبع

*** empty log message ***

Roger Hughston 18 سال پیش
والد
کامیت
1f0c2980bb
1فایلهای تغییر یافته به همراه0 افزوده شده و 6 حذف شده
  1. 0 6
      panda/src/osxdisplay/osxGraphicsWindow.mm

+ 0 - 6
panda/src/osxdisplay/osxGraphicsWindow.mm

@@ -14,8 +14,6 @@
 ////////////////////////////////////////////////////////////////////
 #include <Carbon/Carbon.h>
 #include <Cocoa/Cocoa.h>
-#include <unistd.h>
-
 
 #include "osxGraphicsWindow.h"
 #include "config_osxdisplay.h"
@@ -31,7 +29,6 @@
 #include "virtualFileSystem.h"
 #include "config_util.h"
 
-
 #include <OpenGL/gl.h>
 #include <AGL/agl.h>
 #include <ApplicationServices/ApplicationServices.h>
@@ -955,9 +952,6 @@ bool osxGraphicsWindow::OSOpenWindow(WindowProperties &req_properties)
 //		err = CPSSetFrontProcess(&PSN);
 	}
 
-// total hack to help find a race.. must remove later
-    usleep( 1000000 * 2);
-
 	if (req_properties.has_fullscreen() && req_properties.get_fullscreen())
 	{
 		osxdisplay_cat.info() << "Creating full screen\n";