mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
use OpenGL on Mac
This commit is contained in:
@ -17,7 +17,10 @@ pub fn build(b: *std.build.Builder) !void {
|
||||
exe.addIncludeDir("src/");
|
||||
exe.addCSourceFile("src/gb_math.c", &.{});
|
||||
exe.addPackagePath("glfw", "vendor/mach/glfw/src/main.zig");
|
||||
glfw.link(b, exe, .{});
|
||||
glfw.link(b, exe, .{
|
||||
.metal = false,
|
||||
.opengl = true,
|
||||
});
|
||||
|
||||
// GLAD
|
||||
exe.addIncludeDir("vendor/glad/include/");
|
||||
|
Reference in New Issue
Block a user