projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f78c93
)
fix an assertion
author
Brian Paul
<brian.paul@tungstengraphics.com>
Sat, 1 Oct 2005 16:04:38 +0000
(16:04 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Sat, 1 Oct 2005 16:04:38 +0000
(16:04 +0000)
src/mesa/swrast/s_texstore.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_texstore.c
b/src/mesa/swrast/s_texstore.c
index 4f4684ddb5780671a23c2e23a9dcda85b69ef746..fce20011d2ab61bfd4a34958bfb25afda01f09b1 100644
(file)
--- a/
src/mesa/swrast/s_texstore.c
+++ b/
src/mesa/swrast/s_texstore.c
@@
-192,7
+192,7
@@
read_depth_stencil_image(GLcontext *ctx, GLint x, GLint y,
for (i = 0; i < height; i++) {
GLstencil stencil[MAX_WIDTH];
GLint j;
- ASSERT(sizeof(GLstencil) == stencilRb->StencilBits);
+ ASSERT(
8 *
sizeof(GLstencil) == stencilRb->StencilBits);
_swrast_get_row(ctx, stencilRb, width, x, y + i,
stencil, sizeof(GLstencil));
for (j = 0; j < width; j++) {