More logging

--HG--
branch : opengl3
hg/feature/opengl3
kaetemi 11 years ago
parent 41f77780d5
commit 444d652435

@ -114,7 +114,13 @@ namespace NL3D
{
char errorLog[ 1024 ];
nglGetProgramInfoLog( id, 1024, NULL, errorLog );
nlinfo( "%s", errorLog );
nlwarning( "GL3: %s", errorLog );
std::vector<std::string> lines;
NLMISC::explode(std::string(src->SourcePtr), std::string("\n"), lines);
for (std::vector<std::string>::size_type i = 0; i < lines.size(); ++i)
{
nldebug( "GL3: %i: %s", i, lines[i].c_str());
}
return false;
}

Loading…
Cancel
Save