summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
diff options
context:
space:
mode:
authorGravatarGravatar MooglyGuy <therealmogminer@gmail.com>2019-10-21 16:34:18 +0200
committerGravatarGravatar MooglyGuy <therealmogminer@gmail.com>2019-10-21 16:34:41 +0200
commitc24d44ec62e6a293fbe9c69da2e35563304ddb5e (patch)
treea392851d43e79c459f1482cdda13d00d9b88889c /src/osd
parent55f5096abda7eddaa8491e6e7c004888844104ec (diff)
-bgfx: Fixed opengl backend, nw
Diffstat (limited to 'src/osd')
-rw-r--r--src/osd/modules/render/bgfx/shaders/chains/misc/fs_blit_yuy16.sc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osd/modules/render/bgfx/shaders/chains/misc/fs_blit_yuy16.sc b/src/osd/modules/render/bgfx/shaders/chains/misc/fs_blit_yuy16.sc
index 7f91cbc2db0..326ff0e2b04 100644
--- a/src/osd/modules/render/bgfx/shaders/chains/misc/fs_blit_yuy16.sc
+++ b/src/osd/modules/render/bgfx/shaders/chains/misc/fs_blit_yuy16.sc
@@ -8,6 +8,8 @@ $input v_color0, v_texcoord0
// Samplers
SAMPLER2D(s_tex, 0);
+#define round(X) floor((X)+0.5)
+
vec4 u_tex_size0;
vec4 u_inv_tex_size0;