diff options
| author | Andre Weissflog <floooh@gmail.com> | 2026-01-19 12:25:26 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2026-01-19 12:25:26 +0100 |
| commit | 486d19da7c0e4fd20274ac5ec4e2f0fee358830c (patch) | |
| tree | 68455436677f4b39a07164b994d5da227f1cf850 | |
| parent | d147bc3b1b3f2b6a10cf43df4ddc5ceb79597399 (diff) | |
sokol_gfx.h gl: fix iOS build (don't define _SOKOL_GL_HAS_COLORMASKI on iOS)
| -rw-r--r-- | sokol_gfx.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) |