Merge pull request #227 from stuken/crt_geom_deluxe_interlacing_fix

Display 480p content at full res with interlacing off
This commit is contained in:
hizzlekizzle 2022-02-10 22:05:58 -06:00 committed by GitHub
commit 819892ed0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,7 +111,7 @@ void main()
TextureSize = global.SourceSize.xy; TextureSize = global.SourceSize.xy;
ilfac = vec2(1.0, clamp(floor(global.SourceSize.y/200.0), 1.0, 2.0)); ilfac = vec2(1.0, clamp(floor(global.SourceSize.y/(interlace_detect == 1.0 ? 200.0 : 1000.0)), 1.0, 2.0));
// The size of one texel, in texture-coordinates. // The size of one texel, in texture-coordinates.
v_one = ilfac / TextureSize.xy; v_one = ilfac / TextureSize.xy;