diff options
author | Patrice Mandin <[email protected]> | 2008-06-21 22:59:05 +0200 |
---|---|---|
committer | Patrice Mandin <[email protected]> | 2008-06-21 22:59:05 +0200 |
commit | 8c26a521ee80f5d8a1d0aabd0910233aad400322 (patch) | |
tree | e725d3d2d82508700c2602fab540b70c68ff9c2f /src/gallium/drivers/nv40/nv40_vbo.c | |
parent | 5fea663b5f7abcdca00c5ff5d1b77f200b0d06ec (diff) |
Update for extra vertex attributes
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_vbo.c')
-rw-r--r-- | src/gallium/drivers/nv40/nv40_vbo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv40/nv40_vbo.c b/src/gallium/drivers/nv40/nv40_vbo.c index e5f9bd5668a..93669e6192f 100644 --- a/src/gallium/drivers/nv40/nv40_vbo.c +++ b/src/gallium/drivers/nv40/nv40_vbo.c @@ -149,7 +149,7 @@ nv40_vbo_static_attrib(struct nv40_context *nv40, struct nouveau_stateobj *so, so_data (so, fui(v[1])); break; case 1: - so_method(so, curie, 0x1e40 + (attrib * 4), 1); + so_method(so, curie, NV40TCL_VTX_ATTR_1F(attrib), 1); so_data (so, fui(v[0])); break; default: |