summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-09-10 16:27:07 -0600
committerBrian <[email protected]>2007-09-10 16:27:07 -0600
commit21c925f49191df46ed8788ac09bbb3bd4a437c99 (patch)
treefab109d4c39f57a91bd71c2bd1336750bb64b358 /src/mesa/main
parent63a51aee86f76ae54fb1ce572d584fb0f01aaec5 (diff)
move FLUSH_CURRENT
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/rastpos.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/rastpos.c b/src/mesa/main/rastpos.c
index eef3b09d6db..ee163e0c71a 100644
--- a/src/mesa/main/rastpos.c
+++ b/src/mesa/main/rastpos.c
@@ -53,6 +53,9 @@ rasterpos(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
if (ctx->NewState)
_mesa_update_state( ctx );
+ ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx);
+ FLUSH_CURRENT(ctx, 0);
+
ctx->Driver.RasterPos(ctx, p);
}