summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv10/nv10_state.h
diff options
context:
space:
mode:
authorYounes Manton <younes.m@gmail.com>2009-12-06 12:26:55 -0500
committerYounes Manton <younes.m@gmail.com>2009-12-06 12:34:27 -0500
commitc574f515f0aa20ccc3841cf61a6124bc5996e7b2 (patch)
tree43440f5f295cf423069e00df77add30cda486a0d /src/gallium/drivers/nv10/nv10_state.h
parent07487643515edb731c6abc3e931c329a89dd9293 (diff)
nouveau: Work around nv04-nv40 miptrees not matching nouveau_miptree.
Thanks to Bob Gleitsmann for the patch. I'll clean this up in a better way later if noone else beats me to it.
Diffstat (limited to 'src/gallium/drivers/nv10/nv10_state.h')
-rw-r--r--src/gallium/drivers/nv10/nv10_state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv10/nv10_state.h b/src/gallium/drivers/nv10/nv10_state.h
index 3a3fd0d4f4..2524ac02e2 100644
--- a/src/gallium/drivers/nv10/nv10_state.h
+++ b/src/gallium/drivers/nv10/nv10_state.h
@@ -126,6 +126,7 @@ struct nv10_depth_stencil_alpha_state {
struct nv10_miptree {
struct pipe_texture base;
+ struct nouveau_bo *bo;
struct pipe_buffer *buffer;
uint total_size;