Fixed /W4 warnings
This commit is contained in:
@@ -18,13 +18,13 @@ int main()
|
||||
glm::half B(2.0f);
|
||||
glm::half C = A + B;
|
||||
glm::half D(C);
|
||||
float E = D;
|
||||
int F = float(C);
|
||||
float E(D);
|
||||
int F(float(C));
|
||||
glm::half G = B * C;
|
||||
glm::half H = G / C;
|
||||
H += glm::half(1.0f);
|
||||
double J = H;
|
||||
int I = float(H);
|
||||
int I(float(H));
|
||||
|
||||
Result = Result && J == 3.0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user