summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/rastpos.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-05-30 15:22:04 +0000
committerBrian Paul <[email protected]>2001-05-30 15:22:04 +0000
commitb5d3f2c52103c6bd834838695cd753ca26991bd6 (patch)
tree07d65314200c04ebeff9b9313ec12aa3284d3b01 /src/mesa/main/rastpos.c
parent529e48bb0fd53e3a47d01f42c0acfe7faa373912 (diff)
added current raster fog coord and related code
Diffstat (limited to 'src/mesa/main/rastpos.c')
-rw-r--r--src/mesa/main/rastpos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/rastpos.c b/src/mesa/main/rastpos.c
index 388f8f3e28f..958cf23bfb8 100644
--- a/src/mesa/main/rastpos.c
+++ b/src/mesa/main/rastpos.c
@@ -1,4 +1,4 @@
-/* $Id: rastpos.c,v 1.24 2001/05/01 07:25:41 keithw Exp $ */
+/* $Id: rastpos.c,v 1.25 2001/05/30 15:22:04 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -320,7 +320,7 @@ raster_pos4f(GLcontext *ctx, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
ctx->Current.RasterPos[3] = clip[3];
ctx->Current.RasterPosValid = GL_TRUE;
- /* FOG??? */
+ ctx->Current.RasterFogCoord = ctx->Current.FogCoord;
{
GLuint texSet;