diff options
author | Brian Paul <[email protected]> | 2008-12-12 18:03:48 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-12-12 18:03:48 -0700 |
commit | a9475cc240984aab5d9cc5868aa3f6c1b206be94 (patch) | |
tree | 46bfffae11044ec13df204f9e41f69aa26f5ec0c /src/mesa/shader/prog_execute.c | |
parent | 3b61e9c6e699690aa2ce61ad746170ea6d5597f4 (diff) |
mesa: use IFLOOR(x) instead of (int) FLOORF(x)
Diffstat (limited to 'src/mesa/shader/prog_execute.c')
-rw-r--r-- | src/mesa/shader/prog_execute.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |