projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
499aa3d
)
llvmpipe: add 'f' suffix to 1.0 in fixed_to_float()
author
Brian Paul
<brianp@vmware.com>
Thu, 28 Mar 2013 23:17:26 +0000
(17:17 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 28 Mar 2013 23:17:26 +0000
(17:17 -0600)
src/gallium/drivers/llvmpipe/lp_setup_tri.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_setup_tri.c
b/src/gallium/drivers/llvmpipe/lp_setup_tri.c
index 97a76d85c59a1fbe40a99932e40bad2464da6836..45ac6a79ada81faf17e9b2b275b45c83f64d1bbc 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_setup_tri.c
+++ b/
src/gallium/drivers/llvmpipe/lp_setup_tri.c
@@
-54,7
+54,7
@@
subpixel_snap(float a)
static INLINE float
fixed_to_float(int a)
{
- return a * (1.0 / FIXED_ONE);
+ return a * (1.0
f
/ FIXED_ONE);
}