diff options
Diffstat (limited to 'src/mesa/main/feedback.c')
-rw-r--r-- | src/mesa/main/feedback.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mesa/main/feedback.c b/src/mesa/main/feedback.c index 4d6941a5766..b67e8146c33 100644 --- a/src/mesa/main/feedback.c +++ b/src/mesa/main/feedback.c @@ -1,4 +1,4 @@ -/* $Id: feedback.c,v 1.19 2001/01/08 04:09:41 keithw Exp $ */ +/* $Id: feedback.c,v 1.20 2001/01/14 06:14:21 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -58,14 +58,13 @@ _mesa_FeedbackBuffer( GLsizei size, GLenum type, GLfloat *buffer ) gl_error( ctx, GL_INVALID_OPERATION, "glFeedbackBuffer" ); return; } - if (size<0) { gl_error( ctx, GL_INVALID_VALUE, "glFeedbackBuffer(size<0)" ); return; } if (!buffer) { gl_error( ctx, GL_INVALID_VALUE, "glFeedbackBuffer(buffer==NULL)" ); - ctx->Feedback.BufferSize = 0; /* XXX -- Sould this be here??? */ + ctx->Feedback.BufferSize = 0; return; } @@ -103,7 +102,6 @@ _mesa_FeedbackBuffer( GLsizei size, GLenum type, GLfloat *buffer ) } - void _mesa_PassThrough( GLfloat token ) { @@ -153,6 +151,7 @@ void gl_feedback_vertex( GLcontext *ctx, } } + /**********************************************************************/ /* Selection */ /**********************************************************************/ |