mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
app: replace COREVIDEO_TRUE with kCVReturnSuccess
Signed-off-by: Egon Elbre <egonelbre@gmail.com> Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ static void handleMouse(NSView *view, NSEvent *event, int typ, CGFloat dx, CGFlo
|
||||
static CVReturn displayLinkCallback(CVDisplayLinkRef displayLink, const CVTimeStamp *inNow, const CVTimeStamp *inOutputTime, CVOptionFlags flagsIn, CVOptionFlags *flagsOut, void *displayLinkContext) {
|
||||
CFTypeRef view = (CFTypeRef *)displayLinkContext;
|
||||
gio_onFrameCallback(view);
|
||||
return COREVIDEO_TRUE;
|
||||
return kCVReturnSuccess;
|
||||
}
|
||||
|
||||
@interface GioView : NSOpenGLView
|
||||
|
||||
Reference in New Issue
Block a user