Merge branch 'mesa_7_6_branch' into mesa_7_7_branch
authorBrian Paul <brianp@vmware.com>
Fri, 11 Dec 2009 16:22:00 +0000 (09:22 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 11 Dec 2009 16:22:00 +0000 (09:22 -0700)
1  2 
src/mesa/drivers/dri/r600/r700_chip.c
src/mesa/main/light.c
src/mesa/main/texgen.c
src/mesa/main/texobj.c
src/mesa/main/texparam.c
src/mesa/shader/program.c

Simple merge
Simple merge
@@@ -183,11 -178,13 +183,13 @@@ _mesa_TexGeniv(GLenum coord, GLenum pna
  }
  
  
 -void GLAPIENTRY
 +static void GLAPIENTRY
  _mesa_TexGend(GLenum coord, GLenum pname, GLdouble param )
  {
-    GLfloat p = (GLfloat) param;
-    _mesa_TexGenfv( coord, pname, &p );
+    GLfloat p[4];
+    p[0] = (GLfloat) param;
+    p[1] = p[2] = p[3] = 0.0F;
+    _mesa_TexGenfv( coord, pname, p );
  }
  
  
Simple merge
Simple merge
Simple merge