diff options
author | Keith Whitwell <[email protected]> | 2001-03-29 17:08:26 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2001-03-29 17:08:26 +0000 |
commit | 3d5815f4636be0aa9f1788ca80908d5809d26481 (patch) | |
tree | 2baa067035e821888f265f4e4d8b66e4336ba11a /src/mesa/main/feedback.c | |
parent | ee403ff0ba272f5be539ddc921d3fffb3d250cc4 (diff) |
Removed DD_STENCIL, DD_FEEDBACK, DD_SELECT.
Added some switchable debug to s_context.c
Diffstat (limited to 'src/mesa/main/feedback.c')
-rw-r--r-- | src/mesa/main/feedback.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/main/feedback.c b/src/mesa/main/feedback.c index 85363b11d6f..fcd87146524 100644 --- a/src/mesa/main/feedback.c +++ b/src/mesa/main/feedback.c @@ -1,4 +1,4 @@ -/* $Id: feedback.c,v 1.23 2001/03/12 00:48:37 gareth Exp $ */ +/* $Id: feedback.c,v 1.24 2001/03/29 17:08:26 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -343,7 +343,6 @@ _mesa_RenderMode( GLenum mode ) fprintf(stderr, "glRenderMode %s\n", _mesa_lookup_enum_by_nr(mode)); FLUSH_VERTICES(ctx, _NEW_RENDERMODE); - ctx->_TriangleCaps &= ~(DD_FEEDBACK|DD_SELECT); switch (ctx->RenderMode) { case GL_RENDER: @@ -386,14 +385,12 @@ _mesa_RenderMode( GLenum mode ) case GL_RENDER: break; case GL_SELECT: - ctx->_TriangleCaps |= DD_SELECT; if (ctx->Select.BufferSize==0) { /* haven't called glSelectBuffer yet */ _mesa_error( ctx, GL_INVALID_OPERATION, "glRenderMode" ); } break; case GL_FEEDBACK: - ctx->_TriangleCaps |= DD_FEEDBACK; if (ctx->Feedback.BufferSize==0) { /* haven't called glFeedbackBuffer yet */ _mesa_error( ctx, GL_INVALID_OPERATION, "glRenderMode" ); |