summaryrefslogtreecommitdiff
path: root/src/mesa/main/feedback.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/feedback.c')
-rw-r--r--src/mesa/main/feedback.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mesa/main/feedback.c b/src/mesa/main/feedback.c
index 8b3410f39c5..fbac508b32e 100644
--- a/src/mesa/main/feedback.c
+++ b/src/mesa/main/feedback.c
@@ -84,7 +84,7 @@ _mesa_FeedbackBuffer( GLsizei size, GLenum type, GLfloat *buffer )
return;
}
- FLUSH_VERTICES(ctx, _NEW_RENDERMODE); /* Always flush */
+ FLUSH_VERTICES(ctx, _NEW_RENDERMODE, 0); /* Always flush */
ctx->Feedback.Type = type;
ctx->Feedback.BufferSize = size;
ctx->Feedback.Buffer = buffer;
@@ -98,7 +98,7 @@ _mesa_PassThrough( GLfloat token )
GET_CURRENT_CONTEXT(ctx);
if (ctx->RenderMode==GL_FEEDBACK) {
- FLUSH_VERTICES(ctx, 0);
+ FLUSH_VERTICES(ctx, 0, 0);
_mesa_feedback_token( ctx, (GLfloat) (GLint) GL_PASS_THROUGH_TOKEN );
_mesa_feedback_token( ctx, token );
}
@@ -169,7 +169,7 @@ _mesa_SelectBuffer( GLsizei size, GLuint *buffer )
return; /* KW: added return */
}
- FLUSH_VERTICES(ctx, _NEW_RENDERMODE);
+ FLUSH_VERTICES(ctx, _NEW_RENDERMODE, 0);
ctx->Select.Buffer = buffer;
ctx->Select.BufferSize = size;
ctx->Select.BufferCount = 0;
@@ -269,7 +269,7 @@ void GLAPIENTRY
_mesa_InitNames( void )
{
GET_CURRENT_CONTEXT(ctx);
- FLUSH_VERTICES(ctx, 0);
+ FLUSH_VERTICES(ctx, 0, 0);
/* Record the hit before the HitFlag is wiped out again. */
if (ctx->RenderMode == GL_SELECT) {
@@ -309,7 +309,7 @@ _mesa_LoadName( GLuint name )
return;
}
- FLUSH_VERTICES(ctx, _NEW_RENDERMODE);
+ FLUSH_VERTICES(ctx, _NEW_RENDERMODE, 0);
if (ctx->Select.HitFlag) {
write_hit_record( ctx );
@@ -343,7 +343,7 @@ _mesa_PushName( GLuint name )
return;
}
- FLUSH_VERTICES(ctx, _NEW_RENDERMODE);
+ FLUSH_VERTICES(ctx, _NEW_RENDERMODE, 0);
if (ctx->Select.HitFlag) {
write_hit_record( ctx );
}
@@ -373,7 +373,7 @@ _mesa_PopName( void )
return;
}
- FLUSH_VERTICES(ctx, _NEW_RENDERMODE);
+ FLUSH_VERTICES(ctx, _NEW_RENDERMODE, 0);
if (ctx->Select.HitFlag) {
write_hit_record( ctx );
}
@@ -416,7 +416,7 @@ _mesa_RenderMode( GLenum mode )
if (MESA_VERBOSE & VERBOSE_API)
_mesa_debug(ctx, "glRenderMode %s\n", _mesa_enum_to_string(mode));
- FLUSH_VERTICES(ctx, _NEW_RENDERMODE);
+ FLUSH_VERTICES(ctx, _NEW_RENDERMODE, 0);
switch (ctx->RenderMode) {
case GL_RENDER: