glouw / gel

An N64-like software renderer
http://glouw.com/2017/11/12/gel.html
MIT License
570 stars 23 forks source link

Can not build without <float.h> #3

Closed michalspondr closed 6 years ago

michalspondr commented 6 years ago

I had to add #include <float.h> otherwise I got this error message:

main.c: In function ‘reset’: main.c:449:21: error: ‘FLT_MAX’ undeclared (first use in this function) zbuff[i] = -FLT_MAX, pixel[i] = 0x0;

I am using gcc version 6.4.0.

glouw commented 6 years ago

Thanks, patching.