update examples further and add clarifying comment on addRaygui
This commit is contained in:
parent
5b6f68762b
commit
76a7e5c225
1 changed files with 9 additions and 8 deletions
|
|
@ -211,6 +211,7 @@ fn compileRaylib(b: *std.Build, target: std.Build.ResolvedTarget, optimize: std.
|
|||
return raylib;
|
||||
}
|
||||
|
||||
/// This function does not need to be called if you passed .raygui = true to addRaylib
|
||||
pub fn addRaygui(b: *std.Build, raylib: *std.Build.Step.Compile, raygui_dep: *std.Build.Dependency) void {
|
||||
if (raylib_flags_arr.items.len == 0) {
|
||||
@panic(
|
||||
|
|
|
|||
Loading…
Reference in a new issue