mirror of
https://github.com/thorvg/thorvg.git
synced 2025-07-23 14:48:24 +00:00
wg_engine: Fixed typo in comment
Fixed spelling error from 'neccessary' to 'necessary' in two comment lines within the renderShape() and renderImage() methods.
This commit is contained in:
parent
52f23f6acd
commit
79064f0c9f
1 changed files with 2 additions and 2 deletions
|
@ -228,7 +228,7 @@ void WgCompositor::renderShape(WgContext& context, WgRenderDataShape* renderData
|
|||
{
|
||||
assert(renderData);
|
||||
assert(renderPassEncoder);
|
||||
// apply clip path if neccessary
|
||||
// apply clip path if necessary
|
||||
if (renderData->clips.count != 0) {
|
||||
renderClipPath(context, renderData);
|
||||
if (renderData->strokeFirst) {
|
||||
|
@ -265,7 +265,7 @@ void WgCompositor::renderImage(WgContext& context, WgRenderDataPicture* renderDa
|
|||
{
|
||||
assert(renderData);
|
||||
assert(renderPassEncoder);
|
||||
// apply clip path if neccessary
|
||||
// apply clip path if necessary
|
||||
if (renderData->clips.count != 0) {
|
||||
renderClipPath(context, renderData);
|
||||
clipImage(context, renderData);
|
||||
|
|
Loading…
Add table
Reference in a new issue