This commit is contained in:
Pavel 2025-03-13 21:51:11 +03:00
parent 04a52939f4
commit 4dbd2c6b3b
2 changed files with 2 additions and 2 deletions

View File

@ -2291,7 +2291,7 @@ begin
6:Result:=VK_SWIZZLE_B;
7:Result:=VK_SWIZZLE_A;
else
Result:=VK_SWIZZLE_I; //what is the actual behavior when the value is incorrect?
Result:=VK_SWIZZLE_Z; //incorrect value is interpreted as 0
end;
end;

View File

@ -744,7 +744,7 @@ begin
'B':v:=6;
'A':v:=7;
else
v:=2; //error?
v:=0; //incorrect value is interpreted as 0
end;
case i of
1:Result.x:=v;