projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: replace FABSF with fabsf
[mesa.git]
/
src
/
mesa
/
tnl
/
t_vb_fog.c
diff --git
a/src/mesa/tnl/t_vb_fog.c
b/src/mesa/tnl/t_vb_fog.c
index 3c8950f180397dcfeaee4204f03dcd07da70fff1..3626f1da30dd32083f1b05f387b09a67ea41e285 100644
(file)
--- a/
src/mesa/tnl/t_vb_fog.c
+++ b/
src/mesa/tnl/t_vb_fog.c
@@
-187,7
+187,7
@@
run_fog_stage(struct gl_context *ctx, struct tnl_pipeline_stage *stage)
NOTE should avoid going through array twice */
coord = input->start;
for (i = 0; i < input->count; i++) {
NOTE should avoid going through array twice */
coord = input->start;
for (i = 0; i < input->count; i++) {
- *coord =
FABSF
(*coord);
+ *coord =
fabsf
(*coord);
STRIDE_F(coord, input->stride);
}
}
STRIDE_F(coord, input->stride);
}
}
@@
-202,7
+202,7
@@
run_fog_stage(struct gl_context *ctx, struct tnl_pipeline_stage *stage)
input->count = VB->EyePtr->count;
coord = VB->EyePtr->start;
for (i = 0 ; i < VB->EyePtr->count; i++) {
input->count = VB->EyePtr->count;
coord = VB->EyePtr->start;
for (i = 0 ; i < VB->EyePtr->count; i++) {
- input->data[i][0] =
FABSF
(coord[2]);
+ input->data[i][0] =
fabsf
(coord[2]);
STRIDE_F(coord, VB->EyePtr->stride);
}
}
STRIDE_F(coord, VB->EyePtr->stride);
}
}