projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8427d93
)
added check for IntegerAccumScaler > 0 in GL_RETURN case
author
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 2 Feb 2000 21:53:11 +0000
(21:53 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 2 Feb 2000 21:53:11 +0000
(21:53 +0000)
src/mesa/main/accum.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/accum.c
b/src/mesa/main/accum.c
index b052c74d0f59b507ce192d2dd8f7f9ec90d66e14..9621da5b5d324f6b3e87892b8f3c6b0d3bdff248 100644
(file)
--- a/
src/mesa/main/accum.c
+++ b/
src/mesa/main/accum.c
@@
-1,4
+1,4
@@
-/* $Id: accum.c,v 1.1
5 2000/02/02 21:52:26
brianp Exp $ */
+/* $Id: accum.c,v 1.1
6 2000/02/02 21:53:11
brianp Exp $ */
/*
* Mesa 3-D graphics library
@@
-345,7
+345,7
@@
_mesa_Accum( GLenum op, GLfloat value )
if (ctx->IntegerAccumMode && value != 1.0)
rescale_accum(ctx);
- if (ctx->IntegerAccumMode) {
+ if (ctx->IntegerAccumMode
&& ctx->IntegerAccumScaler > 0
) {
/* build lookup table to avoid many floating point multiplies */
const GLfloat mult = ctx->IntegerAccumScaler;
static GLchan multTable[32768];