diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2007-11-20 20:56:47 +1100 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2007-11-20 20:56:47 +1100 |
commit | 30837fd24f76131ef5ea77a1396c304d9fc87f4e (patch) | |
tree | a70b27e9d12499e7e7828b8abdbee73b1ed5ff2c /src/mesa/pipe | |
parent | f01e305e989189fce146d26793e795aa83ff980d (diff) |
nv40: fix a couple of typos
Diffstat (limited to 'src/mesa/pipe')
-rw-r--r-- | src/mesa/pipe/nv40/nv40_state.c | 4 | ||||
-rw-r--r-- | src/mesa/pipe/nv40/nv40_state_tex.c | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/pipe/nv40/nv40_state.c b/src/mesa/pipe/nv40/nv40_state.c index a9790484b9..37b07352be 100644 --- a/src/mesa/pipe/nv40/nv40_state.c +++ b/src/mesa/pipe/nv40/nv40_state.c @@ -210,9 +210,9 @@ nv40_sampler_state_create(struct pipe_context *pipe, } - ps->wrap = ((wrap_mode(cso->wrap_r) << NV40TCL_TEX_WRAP_S_SHIFT) | + ps->wrap = ((wrap_mode(cso->wrap_s) << NV40TCL_TEX_WRAP_S_SHIFT) | (wrap_mode(cso->wrap_t) << NV40TCL_TEX_WRAP_T_SHIFT) | - (wrap_mode(cso->wrap_s) << NV40TCL_TEX_WRAP_R_SHIFT)); + (wrap_mode(cso->wrap_r) << NV40TCL_TEX_WRAP_R_SHIFT)); ps->filt = filter; ps->bcol = ((float_to_ubyte(cso->border_color[3]) << 24) | (float_to_ubyte(cso->border_color[0]) << 16) | diff --git a/src/mesa/pipe/nv40/nv40_state_tex.c b/src/mesa/pipe/nv40/nv40_state_tex.c index 4acf80c9ce..832abbf1f3 100644 --- a/src/mesa/pipe/nv40/nv40_state_tex.c +++ b/src/mesa/pipe/nv40/nv40_state_tex.c @@ -33,6 +33,7 @@ nv40_texture_formats[] = { // _(RGBA_DXT1 , 0x86, S1, S1, S1, S1, X, Y, Z, W, 0x00, 0x00), // _(RGBA_DXT3 , 0x87, S1, S1, S1, S1, X, Y, Z, W, 0x00, 0x00), // _(RGBA_DXT5 , 0x88, S1, S1, S1, S1, X, Y, Z, W, 0x00, 0x00), + {}, }; static struct nv40_texture_format * |