mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-19 19:50:24 +01:00
fix an assertion
This commit is contained in:
parent
faee3f0f1e
commit
65dccf377d
1 changed files with 1 additions and 1 deletions
|
|
@ -1437,7 +1437,7 @@ _swrast_read_rgba_span( GLcontext *ctx, struct gl_renderbuffer *rb,
|
|||
ASSERT(rb);
|
||||
ASSERT(rb->GetRow);
|
||||
ASSERT(rb->_BaseFormat == GL_RGB || rb->_BaseFormat == GL_RGBA);
|
||||
ASSERT(rb->DataType == GL_UNSIGNED_BYTE);
|
||||
ASSERT(rb->DataType == CHAN_TYPE);
|
||||
rb->GetRow(ctx, rb, length, x + skip, y, rgba + skip);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue