mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
remove ftgl build
This commit is contained in:
@ -3,7 +3,6 @@ const Builder = std.build.Builder;
|
||||
const LibExeObjStep = std.build.LibExeObjStep;
|
||||
const glfw = @import("vendor/mach/glfw/build.zig");
|
||||
const ft = @import("src/freetype/build.zig");
|
||||
const ftgl = @import("src/freetype-gl/build.zig");
|
||||
|
||||
pub fn build(b: *std.build.Builder) !void {
|
||||
const target = b.standardTargetOptions(.{});
|
||||
@ -17,7 +16,6 @@ pub fn build(b: *std.build.Builder) !void {
|
||||
exe.addCSourceFile("src/gb_math.c", &.{});
|
||||
exe.addPackagePath("glfw", "vendor/mach/glfw/src/main.zig");
|
||||
glfw.link(b, exe, .{});
|
||||
try ftgl.link(exe, b, target, mode, .{});
|
||||
|
||||
// GLAD
|
||||
exe.addIncludeDir("vendor/glad/include/");
|
||||
|
@ -7,10 +7,7 @@ const std = @import("std");
|
||||
const Allocator = std.mem.Allocator;
|
||||
const glfw = @import("glfw");
|
||||
const gl = @import("opengl.zig");
|
||||
const TextRenderer = if (true)
|
||||
@import("TextRenderer.zig")
|
||||
else
|
||||
@import("TextRenderer2.zig");
|
||||
const TextRenderer = @import("TextRenderer.zig");
|
||||
|
||||
const log = std.log;
|
||||
|
||||
|
Reference in New Issue
Block a user