From eb8745eb324ee12a7934c2a40afb8eed43ed155c Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Sun, 1 Dec 2019 22:38:17 +0100 Subject: [PATCH] app/internal/window: remove redundant return Signed-off-by: Elias Naur --- app/internal/window/gl_macos.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/internal/window/gl_macos.m b/app/internal/window/gl_macos.m index 2f477ff7..85127698 100644 --- a/app/internal/window/gl_macos.m +++ b/app/internal/window/gl_macos.m @@ -164,7 +164,7 @@ void gio_clearCurrentContext(void) { void gio_makeCurrentContext(CFTypeRef ctxRef) { NSOpenGLContext *ctx = (__bridge NSOpenGLContext *)ctxRef; - return [ctx makeCurrentContext]; + [ctx makeCurrentContext]; } void gio_lockContext(CFTypeRef ctxRef) {