fix: 修正颜色设置函数的调用

This commit is contained in:
Ziyu
2025-10-22 14:47:43 +08:00
parent ee752969f7
commit d05d5562c8
+1 -1
View File
@@ -166,7 +166,7 @@ void Renderer::drawUIFilledRect(const engine::utils::Rect &rect, const engine::u
if (!SDL_RenderFillRect(renderer_, &sdl_rect)) {
spdlog::error("绘制填充矩形失败:{}", SDL_GetError());
}
setDrawColor(0, 0, 0, 1.0f);
setDrawColorFloat(0, 0, 0, 1.0f);
}
void Renderer::present()