From 39a0f8c96a4cd35d0593ed9230e2434859212f58 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sat, 12 Feb 2022 21:28:56 +0000 Subject: [PATCH] Use distinct array types --- core/sys/darwin/Metal/MetalTypes.odin | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/sys/darwin/Metal/MetalTypes.odin b/core/sys/darwin/Metal/MetalTypes.odin index 24a951853..e1269f926 100644 --- a/core/sys/darwin/Metal/MetalTypes.odin +++ b/core/sys/darwin/Metal/MetalTypes.odin @@ -131,10 +131,7 @@ Region :: struct { size: Size, } -SamplePosition :: struct { - x: f32, - y: f32, -} +SamplePosition :: distinct [2]f32 ScissorRect :: struct { x: NS.Integer,