mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-09 14:13:43 +00:00
sw_engine: fixed an uninitialized data access
This commit is contained in:
parent
a80beff714
commit
d3af7a5cb0
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ struct SwSurface : RenderSurface
|
||||||
SwAlpha alphas[4]; //Alpha:2, InvAlpha:3, Luma:4, InvLuma:5
|
SwAlpha alphas[4]; //Alpha:2, InvAlpha:3, Luma:4, InvLuma:5
|
||||||
SwBlender blender = nullptr; //blender (optional)
|
SwBlender blender = nullptr; //blender (optional)
|
||||||
SwCompositor* compositor = nullptr; //compositor (optional)
|
SwCompositor* compositor = nullptr; //compositor (optional)
|
||||||
BlendMethod blendMethod; //blending method (uint8_t)
|
BlendMethod blendMethod = BlendMethod::Normal;
|
||||||
|
|
||||||
SwAlpha alpha(CompositeMethod method)
|
SwAlpha alpha(CompositeMethod method)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue