Temporary workaround for CVDisplayLink deprecation

Apple simply cannot get its APIs right on the first try, ever.
This commit is contained in:
Kovid Goyal 2024-09-26 01:13:10 +05:30
parent 0a7812ab20
commit 271665dbaf
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 0 deletions

View file

@ -27,6 +27,7 @@
// It is fine to use C99 in this file because it will not be built with VS
//========================================================================
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#include "internal.h"
#include <stdlib.h>

View file

@ -26,6 +26,7 @@
// It is fine to use C99 in this file because it will not be built with VS
//========================================================================
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#include "../kitty/monotonic.h"
#include "glfw3.h"
#include "internal.h"