From: Brian Date: Tue, 31 Jul 2007 14:22:18 +0000 (-0600) Subject: fix assertions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ed83159ff46ed6593a367ab93ce8b310dce91b77;p=mesa.git fix assertions --- diff --git a/src/mesa/state_tracker/st_atom_framebuffer.c b/src/mesa/state_tracker/st_atom_framebuffer.c index a8d47ea4f4f..7edd044ad9b 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; }