sokol: fix compilation of gg apps on macos

pull/9715/head
Delyan Angelov 2021-04-13 14:38:55 +03:00
parent d9e2bb9b36
commit 8c95f07509
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ pub const (
#flag freebsd -L/usr/local/lib -lX11 -lGL -lXcursor -lXi #flag freebsd -L/usr/local/lib -lX11 -lGL -lXcursor -lXi
#flag windows -lgdi32 #flag windows -lgdi32
// METAL // METAL
$if darwin { $if macos {
#flag -DSOKOL_METAL #flag -DSOKOL_METAL
#flag -framework Metal -framework Cocoa -framework MetalKit -framework QuartzCore #flag -framework Metal -framework Cocoa -framework MetalKit -framework QuartzCore
} }