projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
swrast: Reduce header file inclusion in s_aatriangle.h.
[mesa.git]
/
src
/
mesa
/
swrast
/
s_accum.c
diff --git
a/src/mesa/swrast/s_accum.c
b/src/mesa/swrast/s_accum.c
index 2dd9ca6348b32cdec1d44b34f31bc3d300fc24d0..854e106b7f052bd0668a05e1a8bc11078b9b99f5 100644
(file)
--- a/
src/mesa/swrast/s_accum.c
+++ b/
src/mesa/swrast/s_accum.c
@@
-130,11
+130,7
@@
_swrast_clear_accum_buffer( GLcontext *ctx, struct gl_renderbuffer *rb )
SWcontext *swrast = SWRAST_CONTEXT(ctx);
GLuint x, y, width, height;
- if (ctx->Visual.accumRedBits == 0) {
- /* No accumulation buffer! Not an error. */
- return;
- }
-
+ /* No accumulation buffer! Not an error. */
if (!rb || !rb->Data)
return;