summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-12-12 18:03:48 -0700
committerBrian Paul <brian.paul@tungstengraphics.com>2008-12-12 18:03:48 -0700
commita9475cc240984aab5d9cc5868aa3f6c1b206be94 (patch)
tree46bfffae11044ec13df204f9e41f69aa26f5ec0c /src/mesa
parent3b61e9c6e699690aa2ce61ad746170ea6d5597f4 (diff)
mesa: use IFLOOR(x) instead of (int) FLOORF(x)
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/shader/prog_execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_execute.c b/src/mesa/shader/prog_execute.c
index 923611b797..4d2fbd0a80 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: