Skip to content

Commit 271665d

Browse files
committed
Temporary workaround for CVDisplayLink deprecation
Apple simply cannot get its APIs right on the first try, ever.
1 parent 0a7812a commit 271665d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

glfw/cocoa_monitor.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
// It is fine to use C99 in this file because it will not be built with VS
2828
//========================================================================
2929

30+
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
3031
#include "internal.h"
3132

3233
#include <stdlib.h>

glfw/cocoa_window.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
// It is fine to use C99 in this file because it will not be built with VS
2727
//========================================================================
2828

29+
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
2930
#include "../kitty/monotonic.h"
3031
#include "glfw3.h"
3132
#include "internal.h"

0 commit comments

Comments
 (0)