diff options
author | Brian Paul <[email protected]> | 2011-12-10 11:44:43 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-12-13 06:45:36 -0700 |
commit | a782db5570a45008f153396070eae153305a7953 (patch) | |
tree | 7688ba5e3728611ce6360dac8bc2a1054af822ce /src/mesa/drivers/dri/nouveau/nv20_context.c | |
parent | d1240928641f5073865cc2f3ef87bd3b0cd64b04 (diff) |
nouveau: stop using _DepthBuffer, _StencilBuffer fields
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nv20_context.c')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nv20_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv20_context.c b/src/mesa/drivers/dri/nouveau/nv20_context.c index 2a883e31088..83091fe8a7b 100644 --- a/src/mesa/drivers/dri/nouveau/nv20_context.c +++ b/src/mesa/drivers/dri/nouveau/nv20_context.c @@ -66,7 +66,7 @@ nv20_clear(struct gl_context *ctx, GLbitfield buffers) if (buffers & (BUFFER_BIT_DEPTH | BUFFER_BIT_STENCIL)) { struct nouveau_surface *s = &to_nouveau_renderbuffer( - fb->_DepthBuffer->Wrapped)->surface; + fb->Attachment[BUFFER_DEPTH].Renderbuffer)->surface; if (buffers & BUFFER_BIT_DEPTH && ctx->Depth.Mask) clear |= NV20_3D_CLEAR_BUFFERS_DEPTH; |