Skip to content

Commit

Permalink
build.zig: Document code depending on raysan5#4411
Browse files Browse the repository at this point in the history
  • Loading branch information
sagehane committed Oct 22, 2024
1 parent 7906361 commit c400e55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ fn compileRaylib(b: *std.Build, target: std.Build.ResolvedTarget, optimize: std.

// Apply all relevant configs from `src/config.h` *except* the user-specified ones
//
// Note: This entire loop might become unnecessary depending on https://github.com/raysan5/raylib/issues/4411
//
// Note: Currently using a suboptimal `O(m*n)` time algorithm where:
// `m` corresponds roughly to the number of lines in `src/config.h`
// `n` corresponds to the number of user-specified flags
Expand Down

0 comments on commit c400e55

Please sign in to comment.