1
0
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:
Zeno Rogue 2020-08-01 16:43:05 +02:00
parent 1d278263bf
commit 79a02a0c2e

View File

@ -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));
} }
} }