diff options
Diffstat (limited to 'core/src/fxge/skia')
-rw-r--r-- | core/src/fxge/skia/fx_skia_blitter_new.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/fxge/skia/fx_skia_blitter_new.cpp b/core/src/fxge/skia/fx_skia_blitter_new.cpp index 4c9c3d0bb9..7a8cb1bfac 100644 --- a/core/src/fxge/skia/fx_skia_blitter_new.cpp +++ b/core/src/fxge/skia/fx_skia_blitter_new.cpp @@ -287,9 +287,9 @@ void CFX_SkiaRenderer::CompositeSpanGray_6(uint8_t* dest_scan, dest_scan++; continue; } - if (src_alpha1 == 255) + if (src_alpha1 == 255) { *dest_scan++ = m_Gray; - else { + } else { *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, m_Gray, src_alpha1); dest_scan++; } @@ -1500,9 +1500,9 @@ FX_BOOL CFX_SkiaRenderer::Init( m_pOriScan = NULL; m_pClipScan = NULL; composite_span = NULL; - if (m_pClipRgn) + if (m_pClipRgn) { m_ClipBox = m_pClipRgn->GetBox(); - else { + } else { m_ClipBox.left = m_ClipBox.top = 0; m_ClipBox.right = m_pDevice->GetWidth(); m_ClipBox.bottom = m_pDevice->GetHeight(); |