mirror of
https://github.com/thorvg/thorvg.git
synced 2025-07-23 22:58:44 +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(renderData);
|
||||||
assert(renderPassEncoder);
|
assert(renderPassEncoder);
|
||||||
// apply clip path if neccessary
|
// apply clip path if necessary
|
||||||
if (renderData->clips.count != 0) {
|
if (renderData->clips.count != 0) {
|
||||||
renderClipPath(context, renderData);
|
renderClipPath(context, renderData);
|
||||||
if (renderData->strokeFirst) {
|
if (renderData->strokeFirst) {
|
||||||
|
@ -265,7 +265,7 @@ void WgCompositor::renderImage(WgContext& context, WgRenderDataPicture* renderDa
|
||||||
{
|
{
|
||||||
assert(renderData);
|
assert(renderData);
|
||||||
assert(renderPassEncoder);
|
assert(renderPassEncoder);
|
||||||
// apply clip path if neccessary
|
// apply clip path if necessary
|
||||||
if (renderData->clips.count != 0) {
|
if (renderData->clips.count != 0) {
|
||||||
renderClipPath(context, renderData);
|
renderClipPath(context, renderData);
|
||||||
clipImage(context, renderData);
|
clipImage(context, renderData);
|
||||||
|
|
Loading…
Add table
Reference in a new issue