Skip to content

Commit

Permalink
fix: yuv renderer issue (#1136)
Browse files Browse the repository at this point in the history
Co-authored-by: admin <[email protected]>
  • Loading branch information
LichKing-2234 and admin authored Dec 7, 2023
1 parent d0098c1 commit 94c5ad1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ts/Renderer/WebGLRenderer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@ export class WebGLRenderer extends IRenderer {
this.gl.TEXTURE_2D,
0,
this.gl.LUMINANCE,
width!,
// Should use xWidth instead of width here (yStide)
xWidth,
height!,
0,
this.gl.LUMINANCE,
Expand Down

0 comments on commit 94c5ad1

Please sign in to comment.