Browse Source

fix an assertion

tags/mesa-6_5-20060712
Brian Paul 19 years ago
parent
commit
65dccf377d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/mesa/swrast/s_span.c

+ 1
- 1
src/mesa/swrast/s_span.c View File

@@ -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…
Cancel
Save