typedef void *IOSurfaceAcceleratorRef;
extern "C" int IOSurfaceAcceleratorCreate(CFAllocatorRef allocator, void *type, IOSurfaceAcceleratorRef *accel);
-extern "C" unsigned int IOSurfaceAcceleratorTransferSurface(IOSurfaceAcceleratorRef accelerator, IOSurfaceRef dest, IOSurfaceRef src, CFDictionaryRef options/*, void *, void *, void **/);
+extern "C" unsigned int IOSurfaceAcceleratorTransferSurface(IOSurfaceAcceleratorRef accelerator, IOSurfaceRef dest, IOSurfaceRef src, void *, void *, void *, void *);
typedef void *IOMobileFramebufferRef;
static IOSurfaceAcceleratorRef accelerator_;
static IOSurfaceRef buffer_;
-static CFDictionaryRef options_;
static NSMutableSet *handlers_;
static rfbScreenInfoPtr screen_;
VNCBlack();
} else {
if (accelerator_ != NULL)
- IOSurfaceAcceleratorTransferSurface(accelerator_, layer, buffer_, options_);
+ IOSurfaceAcceleratorTransferSurface(accelerator_, layer, buffer_, NULL, NULL, NULL, NULL);
else {
IOSurfaceLock(layer, 2);
rfbPixel *data(reinterpret_cast<rfbPixel *>(IOSurfaceGetBaseAddress(layer)));
cfEvent_ = CFDataCreateWithBytesNoCopy(kCFAllocatorDefault, reinterpret_cast<UInt8 *>(&event_), sizeof(event_), kCFAllocatorNull);
- options_ = (CFDictionaryRef) [[NSDictionary dictionaryWithObjectsAndKeys:
- nil] retain];
-
[pool release];
}