diff options
author | Stephane Marchesin <[email protected]> | 2006-11-07 17:37:22 +0000 |
---|---|---|
committer | Stephane Marchesin <[email protected]> | 2006-11-07 17:37:22 +0000 |
commit | 20802a7b695cdb580c479352bc3eab84d1481b2c (patch) | |
tree | fea99e4bb84c6f28c479d6503daf4e3d29849fda /src/mesa | |
parent | e2b4d9b317104ff3c56a9bf108aa79084d49eba5 (diff) |
Commit a small nitpick
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nv10_swtcl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv10_swtcl.c b/src/mesa/drivers/dri/nouveau/nv10_swtcl.c index 79ee29cfa56..510704f7d45 100644 --- a/src/mesa/drivers/dri/nouveau/nv10_swtcl.c +++ b/src/mesa/drivers/dri/nouveau/nv10_swtcl.c @@ -664,7 +664,7 @@ static inline void nv10OutputVertexFormat(struct nouveau_context* nmesa, GLuint if (index&(1<<i)) { slots=i+1; - if (i==0) + if (i==_TNL_ATTRIB_POS) { /* special-case POS */ EMIT_ATTR(_TNL_ATTRIB_POS,EMIT_3F_VIEWPORT); |