Skip to content

Commit d7ae998

Browse files
committed
Fix use_32bit_draw_idx
1 parent a376446 commit d7ae998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ pub fn build(b: *std.Build) void {
9494
"-fno-sanitize=undefined",
9595
"-Wno-elaborated-enum-base",
9696
"-Wno-error=date-time",
97-
if (options.use_32bit_draw_idx) "-DIMGUI_USE_32BIT_DRAW_INDEX" else "",
97+
if (options.use_32bit_draw_idx) "-DImDrawIdx=unsigned int" else "",
9898
};
9999

100100
const objcflags = &.{

0 commit comments

Comments
 (0)