mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 21:53:41 +00:00
parent
b5d81be339
commit
ccaf44e80e
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ void GlRenderer::drawPrimitive(GlShape& sdata, const RenderColor& c, RenderUpdat
|
||||||
}
|
}
|
||||||
|
|
||||||
// color
|
// color
|
||||||
float color[] = {c.r / 255.f, c.g / 255.f, c.b / 255.f, c.a / 255.f};
|
float color[] = {c.r / 255.f, c.g / 255.f, c.b / 255.f, a / 255.f};
|
||||||
|
|
||||||
task->addBindResource(GlBindingResource{
|
task->addBindResource(GlBindingResource{
|
||||||
1,
|
1,
|
||||||
|
|
Loading…
Add table
Reference in a new issue