mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-05 19:31:04 +00:00
Add/remove/change some log messages for clarity
This commit is contained in:
parent
a00b9cab36
commit
9d81c02f27
11 changed files with 73 additions and 79 deletions
|
@ -451,9 +451,6 @@ u32 ShaderSource::getShaderIdDirect(const std::string &name,
|
|||
u32 id = m_shaderinfo_cache.size();
|
||||
m_shaderinfo_cache.push_back(info);
|
||||
|
||||
infostream<<"getShaderIdDirect(): "
|
||||
<<"Returning id="<<id<<" for name \""<<name<<"\""<<std::endl;
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
|
@ -789,7 +786,7 @@ ShaderInfo ShaderSource::generateShader(const std::string &name,
|
|||
dumpShaderProgram(warningstream, "Fragment", fragment_shader);
|
||||
dumpShaderProgram(warningstream, "Geometry", geometry_shader);
|
||||
throw ShaderException(
|
||||
fmtgettext("Failed to compile the \"%s\" shader.", name.c_str()) +
|
||||
fmtgettext("Failed to compile the \"%s\" shader.", log_name.c_str()) +
|
||||
strgettext("\nCheck debug.txt for details."));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue