Hi TinyCC devs,
Just found an issue when compiling with TCC, it seems that TCC is not casting some int values correctly to float when dividing, I mean:
Following code fails on calculating correct float coordinates:
// sourceRec.x, sourceRec.y are floats
// texture.width, texture.height are int
Same code works perfectly with MinGW, GCC, MSVC, Clang...
Instead I had to do:
float width = (float)texture.width;
float height = (float)texture.height;
By the way, thank you very much for this amazing light-weight super-fast compiler! It's the perfect companion for my videogames library: raylib.