From afb34c1ed5b2331de710b26aeecd565bb3b96c4f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 3 Nov 2026 11:26:37 +0530 Subject: [PATCH] fix build on macOS --- gpu/opengl/nsgl.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpu/opengl/nsgl.m b/gpu/opengl/nsgl.m index 5338d6616..87a70e253 100644 --- a/gpu/opengl/nsgl.m +++ b/gpu/opengl/nsgl.m @@ -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 }