summaryrefslogtreecommitdiff
path: root/gfx/gl/shaders/uiShader.fs
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/gl/shaders/uiShader.fs')
-rw-r--r--gfx/gl/shaders/uiShader.fs11
1 files changed, 11 insertions, 0 deletions
diff --git a/gfx/gl/shaders/uiShader.fs b/gfx/gl/shaders/uiShader.fs
new file mode 100644
index 0000000..907c4f1
--- /dev/null
+++ b/gfx/gl/shaders/uiShader.fs
@@ -0,0 +1,11 @@
+#version 130
+
+in vec2 texCoord0;
+
+uniform sampler2D sampler;
+
+void
+main()
+{
+ gl_FragColor = texture(sampler, texCoord0);
+}