diff --git a/src/libhw/nsgldevice.mm b/src/libhw/nsgldevice.mm index c8c6d897..463a5547 100644 --- a/src/libhw/nsgldevice.mm +++ b/src/libhw/nsgldevice.mm @@ -391,7 +391,7 @@ NSGLDevice::~NSGLDevice() { void NSGLDevice::init(Device *other) { Device::init(other); - __ubi_init_cocoa(); + __mts_init_cocoa(); NSOpenGLPixelFormatAttribute attribs[32]; uint i=0; diff --git a/src/mitsuba/darwin_stub.mm b/src/mitsuba/darwin_stub.mm index 43ae081e..cf5930ea 100644 --- a/src/mitsuba/darwin_stub.mm +++ b/src/mitsuba/darwin_stub.mm @@ -18,11 +18,11 @@ #import -extern int ubi_main(int argc, char **argv); +extern int mts_main(int argc, char **argv); int main(int argc, char **argv) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - int retval = ubi_main(argc, argv); + int retval = mts_main(argc, argv); [pool release]; return retval; }