--- 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); }