Re: [Tinycc-devel] Found an issue when compiling raylib with TCC

2018-06-01 Thread grischka
Michael Matz wrote: Hi again, On Thu, 31 May 2018, Michael Matz wrote: I can't find a test which reproduces a problem with current mob branch. FWIW, I tried your raylib on x86-64 linux with the mob branch of TCC. The problem doesn't reproduce for examples/textures_rectangle, also not when

Re: [Tinycc-devel] Found an issue when compiling raylib with TCC

2018-05-31 Thread Ray
Hi Michael, Thanks for taking the time to review this issue and excuse me for the lack of information. I was using latest tcc mob branch, compiled with mingw-w64 32bit compiler on a Windows 10 32bit (generating tcc 32bit) and later used on a Windows 10 Pro 64bit to compile raylib and the example.

Re: [Tinycc-devel] Found an issue when compiling raylib with TCC

2018-05-31 Thread Michael Matz
Hi again, On Thu, 31 May 2018, Michael Matz wrote: I can't find a test which reproduces a problem with current mob branch. FWIW, I tried your raylib on x86-64 linux with the mob branch of TCC. The problem doesn't reproduce for examples/textures_rectangle, also not when going back to raylib

Re: [Tinycc-devel] Found an issue when compiling raylib with TCC

2018-05-31 Thread Michael Matz
Hello, On Mon, 28 May 2018, Ray wrote: 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: Which version of TCC? (mob branch or anything else?) Following code fails on calculating correct float coordinates:

[Tinycc-devel] Found an issue when compiling raylib with TCC

2018-05-28 Thread Ray
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 r