win32: style, remove left over opacity shader

This commit is contained in:
OV2 2013-03-29 15:36:48 +01:00
parent 29fa71b664
commit 88d457baab
1 changed files with 1 additions and 12 deletions

View File

@ -574,9 +574,7 @@ bool D3DVideo::frame(const void *frame,
#ifdef HAVE_OVERLAY
if (overlay.overlay_enabled)
{
overlay_render();
}
#endif
RARCH_PERFORMANCE_STOP(d3d_frame);
@ -1240,15 +1238,6 @@ void D3DVideo::overlay_set_alpha(float 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()
{
struct overlay_vertex