diff options
author | Ian Romanick <[email protected]> | 2010-02-24 19:25:19 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-03-03 12:37:05 -0800 |
commit | 24d311c13339978a37885e88a49a990903652339 (patch) | |
tree | 5d454c9faa285037c1c53cfc3fe673efc7b9d9ce /src/mesa/main/feedback.c | |
parent | bb8c3b1bcc81fd5addc5e214f3efcfdca50c6806 (diff) |
mesa: Eliminate index parameter to _mesa_feedback_vertex
Signed-off-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/feedback.c')
-rw-r--r-- | src/mesa/main/feedback.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/mesa/main/feedback.c b/src/mesa/main/feedback.c index 323cc530363..c72b91280ed 100644 --- a/src/mesa/main/feedback.c +++ b/src/mesa/main/feedback.c @@ -44,9 +44,8 @@ #define FB_3D 0x01 #define FB_4D 0x02 -#define FB_INDEX 0x04 -#define FB_COLOR 0x08 -#define FB_TEXTURE 0X10 +#define FB_COLOR 0x04 +#define FB_TEXTURE 0X08 @@ -120,7 +119,6 @@ void _mesa_feedback_vertex(GLcontext *ctx, const GLfloat win[4], const GLfloat color[4], - GLfloat index, const GLfloat texcoord[4]) { _mesa_feedback_token( ctx, win[0] ); @@ -131,9 +129,6 @@ _mesa_feedback_vertex(GLcontext *ctx, if (ctx->Feedback._Mask & FB_4D) { _mesa_feedback_token( ctx, win[3] ); } - if (ctx->Feedback._Mask & FB_INDEX) { - _mesa_feedback_token( ctx, (GLfloat) index ); - } if (ctx->Feedback._Mask & FB_COLOR) { _mesa_feedback_token( ctx, color[0] ); _mesa_feedback_token( ctx, color[1] ); |