this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix MTLSizeMake and MTLOriginMake

Thomas A e7cd0ed1 5529096b

+4 -2
+4 -2
src/frameworks/Metal/src/MTLTypes.m
··· 1 1 #import <Metal/MTLTypes.h> 2 2 3 3 MTLSize MTLSizeMake(NSUInteger width, NSUInteger height, NSUInteger depth) { 4 - return { width, height, depth }; 4 + MTLSize item = { width, height, depth }; 5 + return item; 5 6 } 6 7 7 8 MTLOrigin MTLOriginMake(NSUInteger x, NSUInteger y, NSUInteger z) { 8 - return {x, y, z}; 9 + MTLOrigin item = { x, y, z }; 10 + return item; 9 11 }