mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-18 06:10:36 +01:00
fix assertions
This commit is contained in:
parent
9273150f9a
commit
ed83159ff4
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue