From 486d19da7c0e4fd20274ac5ec4e2f0fee358830c Mon Sep 17 00:00:00 2001 From: Andre Weissflog Date: Mon, 19 Jan 2026 12:25:26 +0100 Subject: sokol_gfx.h gl: fix iOS build (don't define _SOKOL_GL_HAS_COLORMASKI on iOS) --- sokol_gfx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sokol_gfx.h b/sokol_gfx.h index 926a04e4..524de711 100644 --- a/sokol_gfx.h +++ b/sokol_gfx.h @@ -5610,8 +5610,8 @@ inline int sg_append_buffer(sg_buffer buf_id, const sg_range& data) { return sg_ #define _SOKOL_GL_HAS_BASEVERTEX (1) #endif #elif defined(__APPLE__) - #define _SOKOL_GL_HAS_COLORMASKI (1) #if defined(TARGET_OS_IPHONE) && !TARGET_OS_IPHONE + #define _SOKOL_GL_HAS_COLORMASKI (1) #define _SOKOL_GL_HAS_BASEVERTEX (1) #else #define _SOKOL_GL_HAS_TEXSTORAGE (1) -- cgit v1.2.3