fix: 修正颜色设置函数的调用
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user