projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mesa/tests: Sanity check the ES2 dispatch table
[mesa.git]
/
src
/
mesa
/
swrast
/
s_masking.c
diff --git
a/src/mesa/swrast/s_masking.c
b/src/mesa/swrast/s_masking.c
index 2e68f8c4bd7d0f72c1e754fc8e26a33c0e7d6d62..4f262fa976b19850207267213c68aef2d40c45fb 100644
(file)
--- a/
src/mesa/swrast/s_masking.c
+++ b/
src/mesa/swrast/s_masking.c
@@
-46,9
+46,8
@@
_swrast_mask_rgba_span(struct gl_context *ctx, struct gl_renderbuffer *rb,
const GLuint n = span->end;
void *rbPixels;
- ASSERT(n < MAX_WIDTH);
+ ASSERT(n <
SWRAST_
MAX_WIDTH);
ASSERT(span->arrayMask & SPAN_RGBA);
- ASSERT(rb->DataType == span->array->ChanType);
rbPixels = _swrast_get_dest_rgba(ctx, rb, span);