diff options
Diffstat (limited to 'src/osd/modules/render/bgfx/fs_gui.sc')
-rw-r--r-- | src/osd/modules/render/bgfx/fs_gui.sc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/modules/render/bgfx/fs_gui.sc b/src/osd/modules/render/bgfx/fs_gui.sc index 28a1438d189..9f539c1182a 100644 --- a/src/osd/modules/render/bgfx/fs_gui.sc +++ b/src/osd/modules/render/bgfx/fs_gui.sc @@ -5,10 +5,10 @@ $input v_color0, v_texcoord0 #include "../../../../../3rdparty/bgfx/examples/common/common.sh" +// Samplers SAMPLER2D(s_tex, 0); void main() { - vec4 texel = texture2D(s_tex, v_texcoord0); - gl_FragColor = texel * v_color0; + gl_FragColor = texture2D(s_tex, v_texcoord0) * v_color0; } |