summaryrefslogtreecommitdiff
path: root/src/mesa/main/clear.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/clear.c')
-rw-r--r--src/mesa/main/clear.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/clear.c b/src/mesa/main/clear.c
index 6beff9ed842..34e7f2fafbb 100644
--- a/src/mesa/main/clear.c
+++ b/src/mesa/main/clear.c
@@ -169,8 +169,8 @@ clear(struct gl_context *ctx, GLbitfield mask, bool no_error)
_mesa_update_state( ctx ); /* update _Xmin, etc */
}
- if (!no_error && ctx->DrawBuffer->_Status != GL_FRAMEBUFFER_COMPLETE_EXT) {
- _mesa_error(ctx, GL_INVALID_FRAMEBUFFER_OPERATION_EXT,
+ if (!no_error && ctx->DrawBuffer->_Status != GL_FRAMEBUFFER_COMPLETE) {
+ _mesa_error(ctx, GL_INVALID_FRAMEBUFFER_OPERATION,
"glClear(incomplete framebuffer)");
return;
}