projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50227f6
)
nouveau: unbreak nv40
author
Ben Skeggs
<darktama@iinet.net.au>
Tue, 23 Jan 2007 00:06:16 +0000
(11:06 +1100)
committer
Ben Skeggs
<darktama@iinet.net.au>
Tue, 23 Jan 2007 00:06:16 +0000
(11:06 +1100)
src/mesa/drivers/dri/nouveau/nv30_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/nouveau/nv30_state.c
b/src/mesa/drivers/dri/nouveau/nv30_state.c
index e788a9235a48f125dba72537206e5d02c849fbe9..9bb4f14909751bba4f595a9e86754823ef14eecf 100644
(file)
--- 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);
}
}