From 82a6855f9ec4286709396c1b8bc2a021bd1cf42c Mon Sep 17 00:00:00 2001 From: erwincoumans Date: Tue, 5 Nov 2013 14:09:35 -0800 Subject: [PATCH] fix OSX build --- btgui/OpenGLWindow/MacOpenGLWindow.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btgui/OpenGLWindow/MacOpenGLWindow.mm b/btgui/OpenGLWindow/MacOpenGLWindow.mm index da31980dd..d765a4e78 100644 --- a/btgui/OpenGLWindow/MacOpenGLWindow.mm +++ b/btgui/OpenGLWindow/MacOpenGLWindow.mm @@ -896,7 +896,7 @@ void MacOpenGLWindow::startRendering() if ([event type] == NSLeftMouseDragged) { - CGMouseDelta dx1, dy1; + int dx1, dy1; CGGetLastMouseDelta (&dx1, &dy1); NSPoint eventLocation = [event locationInWindow];