diff options
author | Keith Whitwell <[email protected]> | 2001-01-14 06:14:21 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2001-01-14 06:14:21 +0000 |
commit | 3fd01320f1ce3b78584c1fec9b1d6805e8ee6786 (patch) | |
tree | 202d3e095e37b093a872bc4bce612c04d68a501f /src/mesa/main/feedback.c | |
parent | ab8b047ae59c111b4e4ab4fd43a2c6573caf5b85 (diff) |
Fixed conform feedback and drawelements tests.
Use correct pv when rasterizing unfilled polys.
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 */ /**********************************************************************/ |