mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 22:30:24 +01:00
change test for presence of accum buffer
This commit is contained in:
parent
1faaa0090a
commit
20fd105e2a
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue