Adapted Escape the Dawn engine.

This commit is contained in:
2014-04-04 23:14:18 +02:00
parent 6a64de37fb
commit a7985b1686
64 changed files with 3384 additions and 79 deletions
+4 -5
View File
@@ -1,10 +1,9 @@
#ifndef glerror_h__
#define glerror_h__
#ifndef GLError_h__
#define GLError_h__
#include "PrecompiledHeader.h"
#include <iostream>
#include "logging.h"
inline bool _GLERROR(char* info, char* file, char* func, unsigned int line)
{
GLenum error = glGetError();
@@ -19,4 +18,4 @@ inline bool _GLERROR(char* info, char* file, char* func, unsigned int line)
#define GLERROR(function) \
_GLERROR(function, __BASE_FILE__, __func__, __LINE__)
#endif // glerror_h__
#endif // GLError_h__