X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Fmodel_font.h;h=6c6027d62df129c4cd0b6e70e48bc21d67ff5497;hb=5bfb36032928ba9f8d12e72961af68bfab9ea648;hp=65d53e3f83d1a1a43d97cdbb0661af2643e5a1cb;hpb=b3ca3b7a45eec11c46eb19772e10021177665adb;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/model_font.h b/shaders/model_font.h index 65d53e3..6c6027d 100644 --- a/shaders/model_font.h +++ b/shaders/model_font.h @@ -68,7 +68,7 @@ static struct vg_shader _shader_model_font = { { .orig_file = "shaders/model_font.fs", .static_src = -"out vec4 FragColor;\n" +"layout (location = 0) out vec4 oColour;\n" "\n" "uniform sampler2D uTexMain;\n" "uniform vec4 uColour;\n" @@ -102,7 +102,7 @@ static struct vg_shader _shader_model_font = { "void main()\n" "{\n" " compute_motion_vectors();\n" -" FragColor = texture( uTexMain, aUv ) * uColour;\n" +" oColour = texture( uTexMain, aUv ) * uColour;\n" "}\n" ""}, };