mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
mesa: use IFLOOR(x) instead of (int) FLOORF(x)
This commit is contained in:
parent
3b61e9c6e6
commit
a9475cc240
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue