summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_fog.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-06-18 23:55:18 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-06-18 23:55:18 +0000
commitaf197f5f8f182c04ab29cd3c7a18a0cb95a1d9b7 (patch)
tree649bd925155c134f8cef5807ce356f227768db52 /src/mesa/swrast/s_fog.h
parentaba535e765336ceddd23a303514ef7e223b8dc28 (diff)
fix glDraw/CopyPixels w/ fog bug. minor fog code clean-ups.
Diffstat (limited to 'src/mesa/swrast/s_fog.h')
-rw-r--r--src/mesa/swrast/s_fog.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_fog.h b/src/mesa/swrast/s_fog.h
index 88f9964cb5..497583d778 100644
--- a/src/mesa/swrast/s_fog.h
+++ b/src/mesa/swrast/s_fog.h
@@ -1,4 +1,4 @@
-/* $Id: s_fog.h,v 1.4 2001/05/03 22:13:32 brianp Exp $ */
+/* $Id: s_fog.h,v 1.5 2001/06/18 23:55:18 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -33,6 +33,10 @@
#include "swrast.h"
+extern GLfloat
+_mesa_z_to_fogfactor(GLcontext *ctx, GLfloat z);
+
+
extern void
_mesa_fog_rgba_pixels( const GLcontext *ctx,
GLuint n, const GLfloat fog[],