1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 16:45:20 +02:00

Improve readability and infos in verbose log (#13828)

This commit is contained in:
sfan5
2023-09-22 18:41:10 +02:00
committed by GitHub
parent 5949172735
commit c3114132d3
11 changed files with 26 additions and 51 deletions

View File

@@ -488,8 +488,6 @@ u32 ShaderSource::getShader(const std::string &name,
u32 ShaderSource::getShaderIdDirect(const std::string &name,
MaterialType material_type, NodeDrawType drawtype)
{
//infostream<<"getShaderIdDirect(): name=\""<<name<<"\""<<std::endl;
// Empty name means shader 0
if (name.empty()) {
infostream<<"getShaderIdDirect(): name is empty"<<std::endl;