From: Brian Paul Date: Sat, 13 Dec 2008 01:03:48 +0000 (-0700) Subject: mesa: use IFLOOR(x) instead of (int) FLOORF(x) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9475cc240984aab5d9cc5868aa3f6c1b206be94;p=mesa.git mesa: use IFLOOR(x) instead of (int) FLOORF(x) --- diff --git a/src/mesa/shader/prog_execute.c b/src/mesa/shader/prog_execute.c index 923611b7975..4d2fbd0a805 100644 --- a/src/mesa/shader/prog_execute.c +++ b/src/mesa/shader/prog_execute.c @@ -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: