diff options
author | Casimir666 <casimir666@users.sourceforge.net> | 2009-11-19 10:07:49 +0300 |
---|---|---|
committer | Casimir666 <casimir666@users.sourceforge.net> | 2009-11-19 10:07:49 +0300 |
commit | 14a256869e68b737f323710f5f97f1f8ed7ddf0d (patch) | |
tree | d4e60cc8fcb07af573437f4f1bc8d9aca56cb025 /src/apps/mplayerc/res | |
parent | 12400dc71a666a10c965c7907141a3df66f32974 (diff) |
Fixed : duplicate shader code
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1345 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/res')
-rw-r--r-- | src/apps/mplayerc/res/shaders/levels3.psh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/apps/mplayerc/res/shaders/levels3.psh b/src/apps/mplayerc/res/shaders/levels3.psh index 5b7f16f28..d88796645 100644 --- a/src/apps/mplayerc/res/shaders/levels3.psh +++ b/src/apps/mplayerc/res/shaders/levels3.psh @@ -10,15 +10,3 @@ float4 main(float2 tex : TEXCOORD0) : COLOR return (c0 * const_2) + const_1;
}
-sampler s0 : register(s0);
-
-#define const_1 (16.0/255.0)
-#define const_2 (219.0/255.0)
-
-float4 main(float2 tex : TEXCOORD0) : COLOR
-{
- // original pixel
- float4 c0 = tex2D(s0,tex);
-
- return (c0 * const_2) + const_1;
-}
|