mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 00:36:07 +03:00
Merge pull request #1326 from der-teufel-programming/libghostty-on-windows
cimgui metal impl available only when target is Darwin
This commit is contained in:
@ -1046,7 +1046,7 @@ pub const Inspector = struct {
|
||||
|
||||
pub fn deinit(self: Backend) void {
|
||||
switch (self) {
|
||||
.metal => cimgui.c.ImGui_ImplMetal_Shutdown(),
|
||||
.metal => if (builtin.target.isDarwin()) cimgui.c.ImGui_ImplMetal_Shutdown(),
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user