From a9475cc240984aab5d9cc5868aa3f6c1b206be94 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 12 Dec 2008 18:03:48 -0700 Subject: mesa: use IFLOOR(x) instead of (int) FLOORF(x) --- src/mesa/shader/prog_execute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa') 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: -- cgit v1.2.3