Cleanup: clang-format
This commit is contained in:
parent
36c6b2e893
commit
bea5a9997d
|
@ -48,7 +48,7 @@ bool MetalInfo::device_version_check(id<MTLDevice> device)
|
|||
/* Metal Cycles doesn't work correctly on macOS versions older than 12.0 */
|
||||
if (@available(macos 12.0, *)) {
|
||||
MetalGPUVendor vendor = get_vendor_from_device_name([[device name] UTF8String]);
|
||||
|
||||
|
||||
/* Metal Cycles works on Apple Silicon GPUs at present */
|
||||
return (vendor == METAL_GPU_APPLE);
|
||||
}
|
||||
|
|
|
@ -447,7 +447,9 @@ static void ui_node_link(bContext *C, void *arg_p, void *event_p)
|
|||
ED_undo_push(C, "Node input modify");
|
||||
}
|
||||
|
||||
static void ui_node_sock_name(const bNodeTree *ntree, bNodeSocket *sock, char name[UI_MAX_NAME_STR])
|
||||
static void ui_node_sock_name(const bNodeTree *ntree,
|
||||
bNodeSocket *sock,
|
||||
char name[UI_MAX_NAME_STR])
|
||||
{
|
||||
if (sock->link && sock->link->fromnode) {
|
||||
bNode *node = sock->link->fromnode;
|
||||
|
|
Loading…
Reference in New Issue