fix: update win32 gui build for zig-0.15
This commit is contained in:
parent
6da6af22c8
commit
f29eac4f6f
3 changed files with 34 additions and 53 deletions
|
@ -42,7 +42,7 @@ pub const Font = struct {
|
|||
&text_format_single,
|
||||
);
|
||||
if (hr < 0) std.debug.panic(
|
||||
"CreateTextFormat '{}' height {d} failed, hresult=0x{x}",
|
||||
"CreateTextFormat '{f}' height {d} failed, hresult=0x{x}",
|
||||
.{ std.unicode.fmtUtf16Le(face.slice()), size, @as(u32, @bitCast(hr)) },
|
||||
);
|
||||
}
|
||||
|
@ -61,7 +61,7 @@ pub const Font = struct {
|
|||
&text_format_double,
|
||||
);
|
||||
if (hr < 0) std.debug.panic(
|
||||
"CreateTextFormat '{}' height {d} failed, hresult=0x{x}",
|
||||
"CreateTextFormat '{f}' height {d} failed, hresult=0x{x}",
|
||||
.{ std.unicode.fmtUtf16Le(face.slice()), size, @as(u32, @bitCast(hr)) },
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue