fix assertions

This commit is contained in:
Brian 2007-07-31 08:22:18 -06:00
parent 9273150f9a
commit ed83159ff4

View file

@ -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;
}