projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf085db
)
change test for presence of accum buffer
author
Brian Paul
<brian.paul@tungstengraphics.com>
Sat, 8 Oct 2005 21:36:38 +0000
(21:36 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Sat, 8 Oct 2005 21:36:38 +0000
(21:36 +0000)
src/mesa/main/accum.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/accum.c
b/src/mesa/main/accum.c
index a659e8dbdd8fcab68ea3bac48faeefeed630499e..2f7375bd3a036ac670235b3a73af2d2a0460dda2 100644
(file)
--- a/
src/mesa/main/accum.c
+++ b/
src/mesa/main/accum.c
@@
-70,7
+70,7
@@
_mesa_Accum( GLenum op, GLfloat value )
return;
}
- if (ctx->
Visual.accumRedBits
== 0) {
+ if (ctx->
DrawBuffer->Visual.haveAccumBuffer
== 0) {
_mesa_error(ctx, GL_INVALID_OPERATION, "glAccum(no accum buffer)");
return;
}