mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-27 03:02:49 +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 {
|
func isModAvailable(lhs, rhs *shaderir.Expr) bool {
|
||||||
// % is available only when
|
// % 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
|
// 2) either is an typed integer and the other is truncatable to an integer
|
||||||
if isUntypedInteger(lhs) && isUntypedInteger(rhs) {
|
if isUntypedInteger(lhs) && isUntypedInteger(rhs) {
|
||||||
return true
|
return true
|
||||||
|
Loading…
Reference in New Issue
Block a user