projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faee3f0
)
fix an assertion
author
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 26 Apr 2006 03:29:30 +0000
(
03:29
+0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 26 Apr 2006 03:29:30 +0000
(
03:29
+0000)
src/mesa/swrast/s_span.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_span.c
b/src/mesa/swrast/s_span.c
index 35735a411f9af867ab8d5e1c47c18570909d202f..ff3ed420c4b1c18687cf8a6e95daafb065140a2b 100644
(file)
--- a/
src/mesa/swrast/s_span.c
+++ b/
src/mesa/swrast/s_span.c
@@
-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_BYT
E);
+ ASSERT(rb->DataType ==
CHAN_TYP
E);
rb->GetRow(ctx, rb, length, x + skip, y, rgba + skip);
}
}