examples: Load all images from Memory (using embedFile) instead of File
This commit is contained in:
parent
ed0d9c100f
commit
b5737af9cd
3 changed files with 4 additions and 4 deletions
|
|
@ -37,8 +37,8 @@ pub fn build(b: *std.build.Builder) void {
|
|||
.{ .name = "instanced-cube", .packages = &[_]Pkg{Packages.zmath} },
|
||||
.{ .name = "advanced-gen-texture-light", .packages = &[_]Pkg{Packages.zmath} },
|
||||
.{ .name = "fractal-cube", .packages = &[_]Pkg{Packages.zmath} },
|
||||
.{ .name = "gkurve", .packages = &[_]Pkg{ Packages.zmath, Packages.zigimg }, .std_platform_only = true },
|
||||
.{ .name = "textured-cube", .packages = &[_]Pkg{ Packages.zmath, Packages.zigimg }, .std_platform_only = true },
|
||||
.{ .name = "gkurve", .packages = &[_]Pkg{ Packages.zmath, Packages.zigimg } },
|
||||
.{ .name = "textured-cube", .packages = &[_]Pkg{ Packages.zmath, Packages.zigimg } },
|
||||
}) |example| {
|
||||
// FIXME: this is workaround for a problem that some examples (having the std_platform_only=true field) as
|
||||
// well as zigimg uses IO which is not supported in freestanding environments. So break out of this loop
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue