Fixed warnings

This commit is contained in:
Christophe Riccio
2011-06-07 15:14:26 +01:00
parent dc87aa849b
commit 3904d5c59c
2 changed files with 7 additions and 4 deletions

View File

@@ -20,13 +20,14 @@ int main()
glm::half D(C);
float E = D;
int F = float(C);
Result += float(F) == E ? 0 : 1;
glm::half G = B * C;
glm::half H = G / C;
H += glm::half(1.0f);
double J = H;
int I = float(H);
Result = Result && J == 3.0;
Result += J == 3.0 ? 0 : 1;
Result += I == 3 ? 0 : 1;
return Result != 0;
return Result;
}