summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--.gitmodules2
-rw-r--r--build.zig4
m---------raylib0
-rw-r--r--src/Animation.zig1
5 files changed, 4 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ede6e4d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+design
diff --git a/.gitmodules b/.gitmodules
index 4f5b50c..00a5561 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,3 @@
[submodule "raylib"]
path = raylib
- url = git@github.com:AlecGoncharow/raylib.git
+ url = https://github.com/raysan5/raylib.git
diff --git a/build.zig b/build.zig
index fb83a07..a474b0d 100644
--- a/build.zig
+++ b/build.zig
@@ -5,7 +5,7 @@ const raySdk = @import("raylib/src/build.zig");
// Although this function looks imperative, note that its job is to
// declaratively construct a build graph that will be executed by an external
// runner.
-pub fn build(b: *std.Build) void {
+pub fn build(b: *std.Build) !void {
// Standard target options allows the person running `zig build` to choose
// what target to build for. Here we do not override the defaults, which
// means any target is allowed, and the default is native. Other options
@@ -26,7 +26,7 @@ pub fn build(b: *std.Build) void {
.rshapes = b.option(bool, "rshapes", "Compile with shapes support") orelse defaults.rshapes,
.raygui = b.option(bool, "raygui", "Compile with raygui support") orelse defaults.raygui,
};
- const raylib = raySdk.addRaylib(b, target, optimize, options);
+ const raylib = try raySdk.addRaylib(b, target, optimize, options);
const lib = b.addStaticLibrary(.{
.name = "zigdown",
diff --git a/raylib b/raylib
-Subproject 6aee318d20e9dae05ab6c16cf78f1371281c586
+Subproject c7b362d19dd32b00a0fce90bc9abe8afd3d4b75
diff --git a/src/Animation.zig b/src/Animation.zig
index 5201193..93255ec 100644
--- a/src/Animation.zig
+++ b/src/Animation.zig
@@ -1,6 +1,5 @@
const root = @import("root.zig");
const rl = @cImport(@cInclude("raylib.h"));
-const rlm = @cImport(@cInclude("raymath.h"));
const Animation = @This();