mesa: use IFLOOR(x) instead of (int) FLOORF(x)

This commit is contained in:
Brian Paul 2008-12-12 18:03:48 -07:00
parent 3b61e9c6e6
commit a9475cc240

View file

@ -705,7 +705,7 @@ _mesa_execute_program(GLcontext * ctx,
{
GLfloat t[4];
fetch_vector4(&inst->SrcReg[0], machine, t);
machine->AddressReg[0][0] = (GLint) FLOORF(t[0]);
machine->AddressReg[0][0] = IFLOOR(t[0]);
}
break;
case OPCODE_BGNLOOP: