shader/font_frag.glsl

changeset 16
c5dde81b6fb2
parent 15
362b7659dc76
--- a/shader/font_frag.glsl	Wed Nov 08 23:17:07 2023 +0100
+++ b/shader/font_frag.glsl	Wed Nov 15 22:51:40 2023 +0100
@@ -1,10 +1,10 @@
 #version 400 core
 
+layout(location = 0) out vec4 diffuse;
 in vec2 texcoord;
-out vec4 fragment;
 
 uniform sampler2DRect surface;
 
 void main(void) {
-    fragment = texture(surface, texcoord);
+    diffuse = texture(surface, texcoord);
 }

mercurial