mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-06 18:06:33 +00:00
renderer/metal: load shaders from precompiled lib
This commit is contained in:
8
pkg/macos/dispatch/queue.zig
Normal file
8
pkg/macos/dispatch/queue.zig
Normal file
@@ -0,0 +1,8 @@
|
||||
const std = @import("std");
|
||||
const c = @import("c.zig");
|
||||
|
||||
pub const Queue = *anyopaque; // dispatch_queue_t
|
||||
|
||||
pub fn getMain() Queue {
|
||||
return c.dispatch_get_main_queue().?;
|
||||
}
|
Reference in New Issue
Block a user