fix OSX build

This commit is contained in:
erwincoumans
2013-11-05 14:09:35 -08:00
parent 9d96c24bee
commit 82a6855f9e

View File

@@ -896,7 +896,7 @@ void MacOpenGLWindow::startRendering()
if ([event type] == NSLeftMouseDragged) if ([event type] == NSLeftMouseDragged)
{ {
CGMouseDelta dx1, dy1; int dx1, dy1;
CGGetLastMouseDelta (&dx1, &dy1); CGGetLastMouseDelta (&dx1, &dy1);
NSPoint eventLocation = [event locationInWindow]; NSPoint eventLocation = [event locationInWindow];