remove ftgl build

This commit is contained in:
Mitchell Hashimoto
2022-04-05 19:54:48 -07:00
parent 388c0056c9
commit 80490cb80d
2 changed files with 1 additions and 6 deletions

View File

@ -3,7 +3,6 @@ const Builder = std.build.Builder;
const LibExeObjStep = std.build.LibExeObjStep; const LibExeObjStep = std.build.LibExeObjStep;
const glfw = @import("vendor/mach/glfw/build.zig"); const glfw = @import("vendor/mach/glfw/build.zig");
const ft = @import("src/freetype/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 { pub fn build(b: *std.build.Builder) !void {
const target = b.standardTargetOptions(.{}); const target = b.standardTargetOptions(.{});
@ -17,7 +16,6 @@ pub fn build(b: *std.build.Builder) !void {
exe.addCSourceFile("src/gb_math.c", &.{}); exe.addCSourceFile("src/gb_math.c", &.{});
exe.addPackagePath("glfw", "vendor/mach/glfw/src/main.zig"); exe.addPackagePath("glfw", "vendor/mach/glfw/src/main.zig");
glfw.link(b, exe, .{}); glfw.link(b, exe, .{});
try ftgl.link(exe, b, target, mode, .{});
// GLAD // GLAD
exe.addIncludeDir("vendor/glad/include/"); exe.addIncludeDir("vendor/glad/include/");

View File

@ -7,10 +7,7 @@ const std = @import("std");
const Allocator = std.mem.Allocator; const Allocator = std.mem.Allocator;
const glfw = @import("glfw"); const glfw = @import("glfw");
const gl = @import("opengl.zig"); const gl = @import("opengl.zig");
const TextRenderer = if (true) const TextRenderer = @import("TextRenderer.zig");
@import("TextRenderer.zig")
else
@import("TextRenderer2.zig");
const log = std.log; const log = std.log;