Add gpu_device_name

This commit is contained in:
luboslenco
2025-08-24 12:42:52 +02:00
parent 17b91561ab
commit 4490601762
+2 -1
View File
@@ -644,7 +644,8 @@ void gpu_index_buffer_unlock(gpu_buffer_t *buffer) {
}
char *gpu_device_name() {
return "";
id<MTLDevice> device = get_metal_device();
return (char *)[device.name UTF8String];
}
typedef struct inst {