Use distinct array types
This commit is contained in:
1 parent
b647b45ba5
commit
39a0f8c96a
1 file changed
+1
-4
@@ -131,10 +131,7 @@ Region :: struct {
|
||||
size: Size,
|
||||
}
|
||||
|
||||
SamplePosition :: struct {
|
||||
x: f32,
|
||||
y: f32,
|
||||
}
|
||||
SamplePosition :: distinct [2]f32
|
||||
|
||||
ScissorRect :: struct {
|
||||
x: NS.Integer,
|
||||
|
||||
Reference in new issue
Block a user