summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/buffers.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2009-01-27 19:10:43 -0800
committerIan Romanick <[email protected]>2009-01-28 16:28:11 -0800
commit8aa209c766b79144db499063dd1c8482562b07bf (patch)
tree7dad57db6aca007ebb389149dcfdc93f60a6af45 /src/mesa/main/buffers.c
parent474cda6fa912a766821d20b5b21d6eeba6ea9225 (diff)
Make GL_ARB_draw_buffers mandatory
Signed-off-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/buffers.c')
-rw-r--r--src/mesa/main/buffers.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c
index b23d2f612bf..dc415c4f20c 100644
--- a/src/mesa/main/buffers.c
+++ b/src/mesa/main/buffers.c
@@ -289,10 +289,6 @@ _mesa_DrawBuffersARB(GLsizei n, const GLenum *buffers)
GET_CURRENT_CONTEXT(ctx);
ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx);
- if (!ctx->Extensions.ARB_draw_buffers) {
- _mesa_error(ctx, GL_INVALID_OPERATION, "glDrawBuffersARB");
- return;
- }
if (n < 1 || n > (GLsizei) ctx->Const.MaxDrawBuffers) {
_mesa_error(ctx, GL_INVALID_VALUE, "glDrawBuffersARB(n)");
return;