mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
set the atlas texture memory storage mode to shared
This commit is contained in:
@ -2162,6 +2162,7 @@ fn initAtlasTexture(device: objc.Object, atlas: *const font.Atlas) !objc.Object
|
||||
desc.setProperty("pixelFormat", @intFromEnum(pixel_format));
|
||||
desc.setProperty("width", @as(c_ulong, @intCast(atlas.size)));
|
||||
desc.setProperty("height", @as(c_ulong, @intCast(atlas.size)));
|
||||
desc.setProperty("storageMode", @as(c_ulong, mtl.MTLResourceStorageModeShared));
|
||||
|
||||
// Initialize
|
||||
const id = device.msgSend(
|
||||
|
Reference in New Issue
Block a user