projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac522d4
)
replaced GLfixed with GLfloat in _mesa_fog_ci_pixels() (Klaus Niederkrueger)
author
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 13 Dec 2000 17:35:43 +0000
(17:35 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 13 Dec 2000 17:35:43 +0000
(17:35 +0000)
src/mesa/swrast/s_fog.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_fog.c
b/src/mesa/swrast/s_fog.c
index dfdc1821f26e60182a10c914f7e5fd065965c0db..919d70e099d624b3bfd13df915ac563a6d87e338 100644
(file)
--- a/
src/mesa/swrast/s_fog.c
+++ b/
src/mesa/swrast/s_fog.c
@@
-1,4
+1,4
@@
-/* $Id: s_fog.c,v 1.
3 2000/11/15 00:26:01
brianp Exp $ */
+/* $Id: s_fog.c,v 1.
4 2000/12/13 17:35:43
brianp Exp $ */
/*
* Mesa 3-D graphics library
@@
-80,7
+80,7
@@
_mesa_fog_ci_pixels( const GLcontext *ctx,
GLuint i;
for (i=0;i<n;i++) {
- GLf
ixed
f = FixedToFloat(CLAMP(fog[i], 0, FIXED_ONE));
+ GLf
loat
f = FixedToFloat(CLAMP(fog[i], 0, FIXED_ONE));
index[i] = (GLuint) ((GLfloat) index[i] + (1.0F-f) * idx);
}
}