mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Fix crash when draw 0 alpha on 0 alpha
This commit is contained in:
@ -189,6 +189,9 @@ namespace agg
|
||||
unsigned alpha,
|
||||
unsigned cover=0)
|
||||
{
|
||||
if (0 == alpha)
|
||||
return;
|
||||
|
||||
calc_type r = p[Order::R];
|
||||
calc_type g = p[Order::G];
|
||||
calc_type b = p[Order::B];
|
||||
|
||||
Reference in New Issue
Block a user