1
0
Fork 0
spectre/source/Graphics/GL/CheckError.cpp
2016-01-10 09:26:43 +01:00

12 lines
No EOL
199 B
C++

#include <string>
#include "CheckError.h"
void glCheckError(const char *file, unsigned int line, const char *expr) {
GLenum err = glGetError();
if (err != GL_NO_ERROR) {
std::string msg;
}
}