diff options
author | Ben Skeggs <[email protected]> | 2007-01-23 11:06:16 +1100 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2007-01-23 11:06:16 +1100 |
commit | ed69205684a0c3c69d27a9e2d13213997aaa5b93 (patch) | |
tree | d6c5b3b4c8107c5df97b7ef54c7884e05052698c /src | |
parent | 50227f6fd23f3a4737dada1a98d26f6d0141af47 (diff) |
nouveau: unbreak nv40
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nv30_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv30_state.c b/src/mesa/drivers/dri/nouveau/nv30_state.c index e788a9235a4..9bb4f149097 100644 --- a/src/mesa/drivers/dri/nouveau/nv30_state.c +++ b/src/mesa/drivers/dri/nouveau/nv30_state.c @@ -899,7 +899,7 @@ static GLboolean nv30BindBuffers(nouveauContextPtr nmesa, int num_color, OUT_RING (depth->offset); if (nmesa->screen->card->type >= NV_40) { BEGIN_RING_SIZE(NvSub3D, NV30_TCL_PRIMITIVE_3D_LMA_DEPTH_BUFFER_PITCH, 1); - OUT_RING (depth->pitch >> 2); + OUT_RING (depth->pitch); } } |