diff options
author | Brian Paul <brianp@vmware.com> | 2010-03-15 10:29:04 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-03-15 10:29:10 -0600 |
commit | f9d753787e6c566d3481cca07dee939239eb7071 (patch) | |
tree | 1c06ece2af7ae79f2f5cf778d56612830759d57e /src/glut/beos/glutColor.cpp | |
parent | 50d96f741e59678a19dd3308d532add1350ad441 (diff) |
gallivm: fix incorrect floor(), itrunc()
LLVMBuildFPTrunc() should be used for double->float conversion, not
float->int conversion.
There should be a better way to compute floor(), ceil(), etc that doesn't
involve float->int->float conversion.
Diffstat (limited to 'src/glut/beos/glutColor.cpp')
0 files changed, 0 insertions, 0 deletions