move FLUSH_CURRENT

This commit is contained in:
Brian
2007-09-10 16:27:07 -06:00
parent 63a51aee86
commit 21c925f491
2 changed files with 3 additions and 3 deletions
+3
View File
@@ -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);
}
-3
View File
@@ -393,9 +393,6 @@ compute_texgen(GLcontext *ctx, const GLfloat vObj[4], const GLfloat vEye[4],
void
_tnl_RasterPos(GLcontext *ctx, const GLfloat vObj[4])
{
ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx);
FLUSH_CURRENT(ctx, 0);
if (ctx->VertexProgram._Enabled) {
/* XXX implement this */
_mesa_problem(ctx, "Vertex programs not implemented for glRasterPos");