MathIsFun0 / Cryptid

An unbalanced Balatro mod
55 stars 34 forks source link

Fix type mismatch errors in shader code #183

Closed PIPIKAI closed 1 month ago

PIPIKAI commented 1 month ago

Refactored GLSL code to avoid implicit type conversions between float and int. Explicit type casting has been added to ensure compatibility with strict compilers.

stupxd commented 1 month ago

seems good to me 👍 thanks for the PR

stupxd commented 1 month ago

tho tbf, I wonder if you'd even be able to start the vanilla game, as some vanilla shaders have the same issue you will have to override the vanilla shaders, I assume

PIPIKAI commented 1 month ago

I fixed this because I found that loose syntax might cause issues on the ARM architecture platform. I tested the pull request myself, and it's working fine.

Jevonnissocoolman commented 1 month ago

Testing this myself and so far not encountering any issues I think is good to merge, good job