summaryrefslogtreecommitdiffstats
path: root/o3d/plugin/mac/plugin_mac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/plugin/mac/plugin_mac.mm')
-rw-r--r--o3d/plugin/mac/plugin_mac.mm5
1 files changed, 3 insertions, 2 deletions
diff --git a/o3d/plugin/mac/plugin_mac.mm b/o3d/plugin/mac/plugin_mac.mm
index 5df3b88..0714ad5 100644
--- a/o3d/plugin/mac/plugin_mac.mm
+++ b/o3d/plugin/mac/plugin_mac.mm
@@ -256,7 +256,8 @@ void RenderTimer::TimerCallback(CFRunLoopTimerRef timer, void* info) {
bool ExceptionCallback(int exception_type,
int exception_code,
- mach_port_t crashing_thread) {
+ mach_port_t crashing_thread,
+ void* context) {
return BreakpadEnabler::IsEnabled();
}
@@ -266,7 +267,7 @@ void InitializeBreakpad() {
NSDictionary* info = [bundle infoDictionary];
gBreakpadRef = BreakpadCreate(info);
- BreakpadSetFilterCallback(gBreakpadRef, ExceptionCallback);
+ BreakpadSetFilterCallback(gBreakpadRef, ExceptionCallback, NULL);
}
}