win32: style, remove left over opacity shader
This commit is contained in:
parent
29fa71b664
commit
88d457baab
|
@ -574,9 +574,7 @@ bool D3DVideo::frame(const void *frame,
|
||||||
|
|
||||||
#ifdef HAVE_OVERLAY
|
#ifdef HAVE_OVERLAY
|
||||||
if (overlay.overlay_enabled)
|
if (overlay.overlay_enabled)
|
||||||
{
|
|
||||||
overlay_render();
|
overlay_render();
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
RARCH_PERFORMANCE_STOP(d3d_frame);
|
RARCH_PERFORMANCE_STOP(d3d_frame);
|
||||||
|
@ -1240,15 +1238,6 @@ void D3DVideo::overlay_set_alpha(float mod)
|
||||||
overlay.overlay_alpha_mod = mod;
|
overlay.overlay_alpha_mod = mod;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char *opacity_fragment =
|
|
||||||
"uniform float opacity;\n"
|
|
||||||
"float4 main_fragment(uniform sampler2D samp, float2 tex : TEXCOORD0) : COLOR\n"
|
|
||||||
"{\n"
|
|
||||||
" float4 col = tex2D(samp, tex);\n"
|
|
||||||
" col.a *= opacity;\n"
|
|
||||||
" return col;\n"
|
|
||||||
"}";
|
|
||||||
|
|
||||||
void D3DVideo::overlay_render()
|
void D3DVideo::overlay_render()
|
||||||
{
|
{
|
||||||
struct overlay_vertex
|
struct overlay_vertex
|
||||||
|
|
Loading…
Reference in New Issue