Texture loading

This commit is contained in:
duck
2025-08-11 12:45:34 +05:00
parent 3500ad97b5
commit b73f0d446a
10 changed files with 153 additions and 45 deletions

View File

@@ -14,3 +14,7 @@ const FileError = std.mem.Allocator.Error || std.fs.File.OpenError || std.fs.Fil
pub fn file(err: FileError, path: []const u8) noreturn {
std.debug.panic("Error while reading \"{s}\": {any}", .{ path, err });
}
pub fn stbi() noreturn {
std.debug.panic("STBI error!\n", .{});
}