Commit 346c99fa authored by Libretro-Admin's avatar Libretro-Admin
Browse files

(GL) Implement perspective correction hack fix courtesy of iCatButler

parent 6098459b
......@@ -90,6 +90,8 @@ const int dither_pattern[16] =
3, -1, 2, -2);
vec4 sample_texel(vec2 coords) {
coords.x += 0.5 / 1024;
coords.y += 0.5 / 512;
// Number of texel per VRAM 16bit "pixel" for the current depth
uint pix_per_hw = 1U << frag_depth_shift;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment