Fixed SSE detection on GCC

This commit is contained in:
Christophe Riccio
2011-01-24 15:43:46 +00:00
parent 438089295e
commit 019c6ced18
4 changed files with 13 additions and 9 deletions

View File

@@ -19,12 +19,12 @@ int main()
glm::half C = A + B;
glm::half D(C);
float E = D;
int F = C;
int F = float(C);
glm::half G = B * C;
glm::half H = G / C;
H += glm::half(1.0f);
double J = H;
int I = H;
int I = float(H);
Result = Result && J == 3.0;