From 7cec70e525ebedd2deda24fbca4c0b8dfcc44f14 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sun, 23 Jul 2023 18:51:32 +0300 Subject: [PATCH] sokol: use GLCORE33 on linux --- vlib/sokol/c/declaration.c.v | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vlib/sokol/c/declaration.c.v b/vlib/sokol/c/declaration.c.v index d77c6addca43f2..1cb6d9b74e2216 100644 --- a/vlib/sokol/c/declaration.c.v +++ b/vlib/sokol/c/declaration.c.v @@ -19,6 +19,10 @@ $if macos { #flag -framework Metal -framework Cocoa -framework MetalKit -framework QuartzCore } } +$if linux { + #flag -D SOKOL_GLCORE33 +} + $if ios { #flag -DSOKOL_METAL #flag -framework Foundation -framework Metal -framework MetalKit -framework UIKit