Adapt OSX code for IMB_allocImBuf param changes.
[blender-staging.git] / intern / ghost / intern / GHOST_SystemCocoa.mm
index 97cfcf1006cfa74797242dfa00a0a9f38ca70baa..80356c19c9b078a1a43286626c99c7767dfc4a24 100644 (file)
@@ -1163,7 +1163,7 @@ GHOST_TSuccess GHOST_SystemCocoa::handleDraggingEvent(GHOST_TEventType eventType
                                        NSEnumerator *enumerator;
                                        NSImageRep *representation;
                                        
-                                       ibuf = IMB_allocImBuf (imgSize.width , imgSize.height, 32, IB_rect, 0);
+                                       ibuf = IMB_allocImBuf (imgSize.width , imgSize.height, 32, IB_rect);
                                        if (!ibuf) {
                                                [droppedImg release];
                                                return GHOST_kFailure;