summaryrefslogtreecommitdiffstats
path: root/libvo/vo_macosx.m
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2008-12-14 17:28:16 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2008-12-14 17:28:16 +0200
commita3ab9e8e4649601281f78949e56b92755ae1142a (patch)
treee31ee1ff4bafbfcf75c16259d9a64d18fea3bd51 /libvo/vo_macosx.m
parentf01f7f6259badb2725be49af914d8db52e025cf6 (diff)
parentbac1f05b4da4339b487e4e6ab972819142b3f13e (diff)
downloadmpv-a3ab9e8e4649601281f78949e56b92755ae1142a.tar.bz2
mpv-a3ab9e8e4649601281f78949e56b92755ae1142a.tar.xz
Merge svn changes up to r28149
Diffstat (limited to 'libvo/vo_macosx.m')
-rw-r--r--libvo/vo_macosx.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/libvo/vo_macosx.m b/libvo/vo_macosx.m
index daede69573..24ffdc1e1f 100644
--- a/libvo/vo_macosx.m
+++ b/libvo/vo_macosx.m
@@ -10,6 +10,7 @@
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/mman.h>
+#include <unistd.h>
#include <CoreServices/CoreServices.h>
//special workaround for Apple bug #6267445
//(OSServices Power API disabled in OSServices.h for 64bit systems)
@@ -25,6 +26,8 @@
#include "aspect.h"
#include "mp_msg.h"
#include "m_option.h"
+#include "mp_fifo.h"
+#include "libvo/sub.h"
#include "input/input.h"
#include "input/mouse.h"
@@ -729,7 +732,6 @@ static int control(uint32_t request, void *data)
- (void) render
{
int curTime;
- static int lastTime = 0;
glClear(GL_COLOR_BUFFER_BIT);