|
|
@@ -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";
|