Don't report shader warnings as errors

This commit is contained in:
Dan Paulat 2025-06-30 22:04:55 -05:00
parent 5f661df9fd
commit 847c5d951e

View file

@ -138,7 +138,7 @@ bool ShaderProgram::Load(
}
else if (logLength > 0)
{
logger_->error("Shader compiled with warnings: {}", infoLog);
logger_->warn("Shader compiled with warnings: {}", infoLog);
}
}
@ -160,7 +160,7 @@ bool ShaderProgram::Load(
}
else if (logLength > 0)
{
logger_->error("Shader program linked with warnings: {}", infoLog);
logger_->warn("Shader program linked with warnings: {}", infoLog);
}
}