Browse Source

Fix hxsl field that can't be assigned.

clementlandrin 1 year ago
parent
commit
66c7d04f5a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hxsl/Checker.hx

+ 1 - 1
hxsl/Checker.hx

@@ -406,7 +406,7 @@ class Checker {
 				return;
 			default:
 			}
-		case TSwiz(e, _):
+		case TSwiz(e, _), TField(e, _):
 			checkWrite(e);
 			return;
 		case TArray(e, _):