[Webkit-unassigned] [Bug 249633] WebGLRenderingContextBase::copyTexImage2D does not handle "GCGLint level" parameter

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 22 01:30:49 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=249633

--- Comment #7 from byao <bing.yao at commscope.com> ---
I just patched below codes in bool WebGLRenderingContextBase::validateTexFuncParameters

  6          synthesizeGLError(GraphicsContextGL::INVALID_VALUE, functionName, "width or height <     0");
  7          return false;
  8      }
  9 +
 10 +    if (level < 0) {
 11 +        synthesizeGLError(GraphicsContextGL::INVALID_VALUE, functionName, "level < 0");
 12 +        return false;
 13 +    }

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221222/593749cc/attachment.htm>


More information about the webkit-unassigned mailing list