mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 23:50:27 +00:00
no more empty lines on GL errors
This commit is contained in:
parent
1d278263bf
commit
79a02a0c2e
2
glhr.cpp
2
glhr.cpp
@ -55,7 +55,7 @@ EX }
|
|||||||
EX void glError(const char* GLcall, const char* file, const int line) {
|
EX void glError(const char* GLcall, const char* file, const int line) {
|
||||||
GLenum errCode = glGetError();
|
GLenum errCode = glGetError();
|
||||||
if(errCode!=GL_NO_ERROR) {
|
if(errCode!=GL_NO_ERROR) {
|
||||||
println(hlog, format("OPENGL ERROR #%i: in file %s on line %i :: %s\n",errCode,file, line, GLcall));
|
println(hlog, format("OPENGL ERROR #%i: in file %s on line %i :: %s",errCode,file, line, GLcall));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user