mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
sw_engine: fixed an uninitialized data access
This commit is contained in:
parent
42c4190112
commit
bceedf081f
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,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