Configure SDL2 to use OpenGL #4

Merged
paoda merged 7 commits from opengl into main 2022-10-20 01:41:51 +00:00
2 changed files with 2 additions and 4237 deletions
Showing only changes of commit 3a3e6acc6a - Show all commits

View File

@ -31,8 +31,8 @@ pub fn build(b: *std.build.Builder) void {
// TOML Library // TOML Library
exe.addPackagePath("toml", "lib/zig-toml/src/toml.zig"); exe.addPackagePath("toml", "lib/zig-toml/src/toml.zig");
// OpenGL Bindings // OpenGL 3.3 Bindings
exe.addPackagePath("gl", "lib/gl_4v5.zig"); exe.addPackagePath("gl", "lib/gl.zig");
// Zig SDL Bindings: https://github.com/MasterQ32/SDL.zig // Zig SDL Bindings: https://github.com/MasterQ32/SDL.zig
const sdk = Sdk.init(b); const sdk = Sdk.init(b);

File diff suppressed because it is too large Load Diff