moar fixes
Some checks failed
Build / Build Game (push) Has been cancelled

This commit is contained in:
2026-02-28 22:14:32 -05:00
parent cf8864b90b
commit e2a2d2c464
4 changed files with 18 additions and 14 deletions

View File

@@ -20,7 +20,7 @@ namespace game::resource
glGetShaderiv(shaderHandle, GL_INFO_LOG_LENGTH, &logLength);
std::string log(logLength, '\0');
if (logLength > 0) glGetShaderInfoLog(shaderHandle, logLength, nullptr, log.data());
logger.error(std::format("Failed to compile shader: {}", log));
logger.error(std::format("Failed to compile {} shader: {}", stage, log));
return false;
}
return true;