diff options
Diffstat (limited to 'src/Utility.hpp')
-rw-r--r-- | src/Utility.hpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Utility.hpp b/src/Utility.hpp index 9b90cb9..f16f49a 100644 --- a/src/Utility.hpp +++ b/src/Utility.hpp @@ -5,8 +5,6 @@ #include <chrono> #include <vector> -#include <GL/glew.h> - using Uuid = std::vector<unsigned char>; template<class T> @@ -45,9 +43,7 @@ inline void endswap(unsigned char *arr, size_t arrLen) { std::reverse(arr, arr + arrLen); } -GLenum glCheckError_(const char *file, int line); -#define glCheckError() glCheckError_(__FILE__, __LINE__) - +#define glCheckError() class LoopExecutionTimeController { using clock = std::chrono::steady_clock ; |