Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Nov 9, 2023
1 parent b82279a commit e6c2655
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/kroppeb/stareval/function/Type.java
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ public static UniformType convert(Type type) {
else if (type == VectorType.VEC3) return UniformType.VEC3;
else if (type == VectorType.VEC4) return UniformType.VEC4;
else if (type == VectorType.I_VEC2) return UniformType.VEC2I;
else if (type == VectorType.I_VEC3) return UniformType.VEC3I;
else if (type == MatrixType.MAT4) return UniformType.MAT4;
else throw new IllegalArgumentException("Unsupported custom uniform type: " + type);
}
Expand Down

0 comments on commit e6c2655

Please sign in to comment.