Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
lostjared committed Aug 29, 2020
1 parent fd0896a commit d49e447
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file not shown.
2 changes: 1 addition & 1 deletion Acid.Cam.v2.OSX/AC_Controller.mm
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,7 @@ -(IBAction) startProgram: (id) sender {
}
else {
//renderTimer = [NSTimer timerWithTimeInterval:1.0/1000 target:self selector:@selector(camProc:) userInfo:nil repeats:YES];
renderTimer = [NSTimer timerWithTimeInterval:1.0/ac::fps target:self selector:@selector(camProc:) userInfo:nil repeats:YES];
renderTimer = [NSTimer timerWithTimeInterval:1.0/ac::fps/2 target:self selector:@selector(camProc:) userInfo:nil repeats:YES];
// [[NSRunLoop currentRunLoop] addTimer:renderTimer forMode:NSEventTrackingRunLoopMode];
[[NSRunLoop currentRunLoop] addTimer:renderTimer forMode:NSDefaultRunLoopMode];
}
Expand Down

0 comments on commit d49e447

Please sign in to comment.