mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
internal/shader: fix misspellings
This commit is contained in:
parent
880dd0682e
commit
5614e9d7eb
@ -35,7 +35,7 @@ func isUntypedInteger(expr *shaderir.Expr) bool {
|
||||
|
||||
func isModAvailable(lhs, rhs *shaderir.Expr) bool {
|
||||
// % is available only when
|
||||
// 1) both are an untyped integer
|
||||
// 1) both are untyped integers
|
||||
// 2) either is an typed integer and the other is truncatable to an integer
|
||||
if isUntypedInteger(lhs) && isUntypedInteger(rhs) {
|
||||
return true
|
||||
|
Loading…
Reference in New Issue
Block a user