summaryrefslogtreecommitdiff
path: root/src/video/cocoa/fullscreen.mm
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/cocoa/fullscreen.mm')
-rw-r--r--src/video/cocoa/fullscreen.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video/cocoa/fullscreen.mm b/src/video/cocoa/fullscreen.mm
index 860866b33..3ce22133d 100644
--- a/src/video/cocoa/fullscreen.mm
+++ b/src/video/cocoa/fullscreen.mm
@@ -30,6 +30,7 @@
#include "../../core/sort_func.hpp"
#include "cocoa_v.h"
#include "../../gfx_func.h"
+#include "../../thread.h"
#include "../../os/macosx/macos.h"
/**
@@ -174,7 +175,7 @@ class FullscreenSubdriver : public CocoaSubdriver {
double adjustment = (target - position) / linesPerSecond;
- CSleep((uint32)(adjustment * 1000));
+ CSleep((uint32)adjustment * 1000);
}