summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-02-22 09:29:46 -0700
committerBrian <[email protected]>2007-02-22 09:29:46 -0700
commit776bc9cf55b116e17dddde4d097985b51879c83f (patch)
tree7f2b21fffc33807b0bd8d23636a1fd024f90d822 /src/mesa/tnl
parent3f4826a358cab8b6d638fc8eb46aef668a7bcf46 (diff)
Undo some STATE_POINT/FOG changes. Max length of state token array is now 5.
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r--src/mesa/tnl/t_vp_build.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_vp_build.c b/src/mesa/tnl/t_vp_build.c
index 283782588aa..17f115f4a21 100644
--- a/src/mesa/tnl/t_vp_build.c
+++ b/src/mesa/tnl/t_vp_build.c
@@ -1323,8 +1323,8 @@ static void build_texture_transform( struct tnl_program *p )
static void build_pointsize( struct tnl_program *p )
{
struct ureg eye = get_eye_position(p);
- struct ureg state_size = register_param2(p, STATE_POINT, STATE_POINT_SIZE);
- struct ureg state_attenuation = register_param2(p, STATE_POINT, STATE_POINT_ATTENUATION);
+ struct ureg state_size = register_param1(p, STATE_POINT_SIZE);
+ struct ureg state_attenuation = register_param1(p, STATE_POINT_ATTENUATION);
struct ureg out = register_output(p, VERT_RESULT_PSIZ);
struct ureg ut = get_temp(p);