diff options
author | Brian <brian@i915.localnet.net> | 2007-07-31 08:22:18 -0600 |
---|---|---|
committer | Brian <brian@i915.localnet.net> | 2007-07-31 08:22:18 -0600 |
commit | ed83159ff46ed6593a367ab93ce8b310dce91b77 (patch) | |
tree | 0d4f59610ed2d9f50782d19f8c10d45849944016 /src | |
parent | 9273150f9a8394f4ef630a96f0089ad8cad607f5 (diff) |
fix assertions
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/state_tracker/st_atom_framebuffer.c | 4 |
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; } |