cell: Specify constant as float for CEILF().

Without the f, the constant is treated as a double, resulting in
slower arithmetic and libgcc conversion calls each time CEILF()
is used.
This commit is contained in:
Jonathan Adamczewski
2009-01-14 12:37:46 +11:00
parent 67c7f94a21
commit f6d09531ff
+1 -1
View File
@@ -57,7 +57,7 @@ struct vertex_header {
/* XXX fix this */
#undef CEILF
#define CEILF(X) ((float) (int) ((X) + 0.99999))
#define CEILF(X) ((float) (int) ((X) + 0.99999f))
#define QUAD_TOP_LEFT 0