Initial commit
This commit is contained in:
commit
edfc5298e1
252 changed files with 93965 additions and 0 deletions
12
source/Graphics/GL/CheckError.cpp
Normal file
12
source/Graphics/GL/CheckError.cpp
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
#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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue