mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-11-19 22:55:29 +00:00
fix build on macOS
This commit is contained in:
parent
1dba9eba6d
commit
afb34c1ed5
1 changed files with 1 additions and 1 deletions
|
|
@ -59,9 +59,9 @@ surface_destroy(GLSurface *s) {
|
|||
|
||||
static void
|
||||
attach_to_view(GLSurface *s, NSOpenGLContext *context) {
|
||||
[s->view setWantsBestResolutionOpenGLSurface:(s->high_resolution ? YES : NO)];
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
[s->view setWantsBestResolutionOpenGLSurface:(s->high_resolution ? YES : NO)];
|
||||
[context setView:s->view];
|
||||
#pragma clang diagnostic pop
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue