mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 15:10:06 +00:00
Don't report shader warnings as errors
This commit is contained in:
parent
5f661df9fd
commit
847c5d951e
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue