Skip to content

Commit fba491e

Browse files
Imgui bindings are only called when imgui feature is enabled (#142)
1 parent 789ede0 commit fba491e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

raylib-sys/build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@ fn main() {
431431

432432
gen_rgui();
433433

434+
#[cfg(feature = "imgui")]
434435
gen_imgui();
435436
}
436437

@@ -460,6 +461,7 @@ fn main() {
460461

461462
gen_rgui();
462463

464+
#[cfg(feature = "imgui")]
463465
gen_imgui();
464466
}
465467

0 commit comments

Comments
 (0)