diff --git a/code/nel/src/3d/driver/opengl3/driver_opengl_program.cpp b/code/nel/src/3d/driver/opengl3/driver_opengl_program.cpp index e9fd6bf81..879a2ef21 100644 --- a/code/nel/src/3d/driver/opengl3/driver_opengl_program.cpp +++ b/code/nel/src/3d/driver/opengl3/driver_opengl_program.cpp @@ -114,7 +114,13 @@ namespace NL3D { char errorLog[ 1024 ]; nglGetProgramInfoLog( id, 1024, NULL, errorLog ); - nlinfo( "%s", errorLog ); + nlwarning( "GL3: %s", errorLog ); + std::vector lines; + NLMISC::explode(std::string(src->SourcePtr), std::string("\n"), lines); + for (std::vector::size_type i = 0; i < lines.size(); ++i) + { + nldebug( "GL3: %i: %s", i, lines[i].c_str()); + } return false; }