From 238389d4e1efacec73c439d837dee53c45f6324d Mon Sep 17 00:00:00 2001 From: Christian Speckner Date: Sun, 28 Nov 2021 16:42:50 +0100 Subject: [PATCH] =?UTF-8?q?Work=20around=20Moir=C3=A9=20artifacts=20on=20A?= =?UTF-8?q?pple=20silicon.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/web/driver/video/NtscProcessor.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/web/driver/video/NtscProcessor.ts b/src/web/driver/video/NtscProcessor.ts index df249ace..e1fb4a00 100644 --- a/src/web/driver/video/NtscProcessor.ts +++ b/src/web/driver/video/NtscProcessor.ts @@ -91,7 +91,7 @@ class NtscProcessor implements Processor { render(texture: WebGLTexture): void { this._pass(texture, this._targetPass1, this._programPass1, 960); - this._pass(this._targetPass1, this._targetPass2, this._programPass2, 480); + this._pass(this._targetPass1, this._targetPass2, this._programPass2, 960); } getWidth(): number { @@ -131,7 +131,7 @@ class NtscProcessor implements Processor { gl.TEXTURE_2D, 0, gl.RGBA, - texture === this._targetPass1 ? 960 : 480, + 960, height, 0, gl.RGBA, @@ -231,7 +231,7 @@ class NtscProcessor implements Processor { namespace NtscProcessor { export const enum mode { composite = 'composite', - svideo = 'svideo' + svideo = 'svideo', } }