Skip to content

Commit d764b3c

Browse files
committed
Change return code in case of negative time
I’m not sure what to actually return here anyway, but apparently this symbol does not always exist.
1 parent cc8853a commit d764b3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/osx/main.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ CVReturn displayLinkCallback(CVDisplayLinkRef displayLink, const CVTimeStamp *no
223223
// TODO: This should probably get the time from the outputTime parameter
224224
int time = getTime();
225225
if (time <= lastTime)
226-
return kCVReturnUnsupported;
226+
return kCVReturnSuccess;
227227

228228
// TODO: This should probably run the update in a separate thread
229229
// and only do rendering here

0 commit comments

Comments
 (0)