aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/OpenGL/TexturedShader.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-02-19 11:06:44 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-03-01 05:06:16 +0100
commit328c6d4eab1127cd9799540f253deda66060b68a (patch)
treeeeb1c888ed94c444d673f9f827b4df447e249ea4 /src/OpenGL/TexturedShader.cs
parent2cb0e7507022aa0449c1af264230784039b24e15 (diff)
free Crow base from OpenTK
Diffstat (limited to 'src/OpenGL/TexturedShader.cs')
-rw-r--r--src/OpenGL/TexturedShader.cs42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/OpenGL/TexturedShader.cs b/src/OpenGL/TexturedShader.cs
deleted file mode 100644
index c8f44c26..00000000
--- a/src/OpenGL/TexturedShader.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-using System;
-using OpenTK.Graphics.OpenGL;
-
-namespace Crow
-{
- public class TexturedShader : Shader
- {
- public TexturedShader ()
- {
-
- fragSource = @"
- #version 130
- precision highp float;
-
- uniform sampler2D tex;
-
- in vec2 texCoord;
- out vec4 out_frag_color;
-
- void main(void)
- {
- out_frag_color = texture( tex, texCoord);
- }";
-
- Compile ();
-
- }
-
- protected override void BindSamplesSlots ()
- {
- base.BindSamplesSlots ();
-
- GL.Uniform1(GL.GetUniformLocation (pgmId, "stencil"),1);
- }
- public override void Enable ()
- {
- base.Enable ();
-
- }
- }
-}
-