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:
Jaedeok Kim 2025-07-17 21:26:49 +09:00
parent 52f23f6acd
commit 79064f0c9f

View file

@ -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);