feat: use opengl
TODO: - Texture isn't scaling properly - I need to reverse the colours in the frag shader
This commit is contained in:
@@ -31,6 +31,9 @@ pub fn build(b: *std.build.Builder) void {
|
||||
// TOML Library
|
||||
exe.addPackagePath("toml", "lib/zig-toml/src/toml.zig");
|
||||
|
||||
// OpenGL Bindings
|
||||
exe.addPackagePath("gl", "lib/gl_4v5.zig");
|
||||
|
||||
// Zig SDL Bindings: https://github.com/MasterQ32/SDL.zig
|
||||
const sdk = Sdk.init(b);
|
||||
sdk.link(exe, .dynamic);
|
||||
|
Reference in New Issue
Block a user