Closed redhog closed 4 years ago
Any hints why this would not work, and fail this way, in https://en.wikipedia.org/wiki/Single-precision_floating-point_format ?
Seems like an error caused by rounding from floor().
But... floor shouldn't round, riiight? https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/floor.xhtml
Well, output the values and manually calculate the numbers. You can also try casting instead of floor.
The logic here
seems broken, and sometimes mangles the window id. 0x1000007 gets transformed into 0x1000008. Why?