| @@ -1,8 +1,8 @@ | |||
| /* | |||
| * Mesa 3-D graphics library | |||
| * Version: 6.1 | |||
| * Version: 6.5 | |||
| * | |||
| * Copyright (C) 1999-2004 Brian Paul All Rights Reserved. | |||
| * Copyright (C) 1999-2005 Brian Paul All Rights Reserved. | |||
| * | |||
| * Permission is hereby granted, free of charge, to any person obtaining a | |||
| * copy of this software and associated documentation files (the "Software"), | |||
| @@ -81,7 +81,7 @@ void GLAPIENTRY _mesa_noop_FogCoordfEXT( GLfloat a ) | |||
| void GLAPIENTRY _mesa_noop_FogCoordfvEXT( const GLfloat *v ) | |||
| { | |||
| GET_CURRENT_CONTEXT(ctx); | |||
| GLfloat *dest = ctx->Current.Attrib[VERT_ATTRIB_NORMAL]; | |||
| GLfloat *dest = ctx->Current.Attrib[VERT_ATTRIB_FOG]; | |||
| dest[0] = v[0]; | |||
| dest[1] = 0.0; | |||
| dest[2] = 0.0; | |||