fixed: printf -> std::printf and missing include

This commit is contained in:
jan p springer 2013-11-22 21:32:33 +00:00
parent dadab89566
commit 2a52f56360

View File

@ -11,6 +11,7 @@
#include <glm/core/type_vec3.hpp>
#include <glm/core/type_vec4.hpp>
#include <glm/core/func_vector_relational.hpp>
#include <cstdio>
#include <ctime>
#include <vector>
@ -317,7 +318,7 @@ int test_vec4_perf_AoS(std::size_t Size)
std::clock_t EndTime = std::clock();
printf("AoS: %d\n", EndTime - StartTime);
std::printf("AoS: %d\n", EndTime - StartTime);
return Error;
}
@ -356,7 +357,7 @@ int test_vec4_perf_SoA(std::size_t Size)
std::clock_t EndTime = std::clock();
printf("SoA: %d\n", EndTime - StartTime);
std::printf("SoA: %d\n", EndTime - StartTime);
return Error;
}