Fixed: Use %f to display a float

--HG--
branch : develop
hg/feature/material-editor
kervala 9 years ago
parent 9a573dfd6c
commit 8d2e962a7a

@ -112,7 +112,7 @@ bool InitMouseWithCursor (bool hardware)
} }
else if (width != 0 && height != 0) else if (width != 0 && height != 0)
{ {
nlwarning("mouse pos %u, %u", x, y); nlwarning("Mouse pos %f, %f", x, y);
Driver->setMousePos(x / width, y / height); Driver->setMousePos(x / width, y / height);
} }
} }

Loading…
Cancel
Save