summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/state_tracker/st_atom_framebuffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_atom_framebuffer.c b/src/mesa/state_tracker/st_atom_framebuffer.c
index a8d47ea4f4..7edd044ad9 100644
--- a/src/mesa/state_tracker/st_atom_framebuffer.c
+++ b/src/mesa/state_tracker/st_atom_framebuffer.c
@@ -61,13 +61,13 @@ update_framebuffer_state( struct st_context *st )
rb = st->ctx->DrawBuffer->_DepthBuffer;
if (rb) {
- assert(rb->surface);
+ assert(rb->Wrapped->surface);
framebuffer.zbuf = rb->Wrapped->surface;
}
rb = st->ctx->DrawBuffer->_StencilBuffer;
if (rb) {
- assert(rb->surface);
+ assert(rb->Wrapped->surface);
framebuffer.sbuf = rb->Wrapped->surface;
}