From 328c6d4eab1127cd9799540f253deda66060b68a Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Fri, 19 Feb 2016 11:06:44 +0100 Subject: free Crow base from OpenTK --- src/OpenGL/TexturedShader.cs | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 src/OpenGL/TexturedShader.cs (limited to 'src/OpenGL/TexturedShader.cs') 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 (); - - } - } -} - -- cgit v1.3.1-4-g156e