mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-20 22:35:20 +00:00
renderer: shadertoy functions
This commit is contained in:
@@ -35,7 +35,7 @@ pub const Program = opaque {
|
||||
}
|
||||
|
||||
pub fn spirvGetPtr(self: *Program) ![*]u8 {
|
||||
return c.glslang_program_SPIRV_get_ptr(@ptrCast(self));
|
||||
return @ptrCast(c.glslang_program_SPIRV_get_ptr(@ptrCast(self)));
|
||||
}
|
||||
|
||||
pub fn spirvGetMessages(self: *Program) ![:0]const u8 {
|
||||
|
||||
Reference in New Issue
Block a user