Bug 248407 - Fix Typo in WebGLRenderingContextBase.h for "texParameter" helper function
Summary: Fix Typo in WebGLRenderingContextBase.h for "texParameter" helper function
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-11-28 09:37 PST by Ahmad Saleem
Modified: 2022-11-28 10:23 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2022-11-28 09:37:51 PST
Hi Team,

While going through Blink commit, I found another typo, which we still have and it would be good to fix.

Blink Commit - https://chromium.googlesource.com/chromium/blink/+/01e308688d652724afbc976dd1dbf6a37d662603

Webkit GitHub Source - https://github.com/WebKit/WebKit/blob/1b6e6070bbb4454799b98ee84c5f0a72526b24f0/Source/WebCore/html/canvas/WebGLRenderingContextBase.h#LL1019

Here it is:

  -  void texParameter(GCGLenum target, GCGLenum pname, GCGLfloat parami, GCGLint paramf, bool isFloat);
  +  void texParameter(GCGLenum target, GCGLenum pname, GCGLfloat paramf, GCGLint parami, bool isFloat);

It is fixed in Chromium / Blink - checked via source.chromium.org, just wanted to raise bug before fixing this. Thanks!
Comment 1 EWS 2022-11-28 10:22:22 PST
Committed 257077@main (0af23318960c): <https://commits.webkit.org/257077@main>

Reviewed commits have been landed. Closing PR #6867 and removing active labels.
Comment 2 Radar WebKit Bug Importer 2022-11-28 10:23:18 PST
<rdar://problem/102723598>