X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Ffscolour.h;fp=shaders%2Ffscolour.h;h=7318cac89d044434f05b4ef95c683ce35e3b3962;hb=3d8eaabcfd3b87fb52127eaa1241673e8d197bea;hp=08fe21edb838ab280fde040862da9265845dd59f;hpb=e591be4b2ed26bbaaea79eff64e7b6070362a6ef;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/fscolour.h b/shaders/fscolour.h index 08fe21e..7318cac 100644 --- a/shaders/fscolour.h +++ b/shaders/fscolour.h @@ -7,7 +7,6 @@ static struct vg_shader _shader_fscolour = { .link = shader_fscolour_link, .vs = { -.orig_file = "../../shaders/blit.vs", .static_src = "layout (location=0) in vec2 a_co;\n" "out vec2 aUv;\n" @@ -20,7 +19,6 @@ static struct vg_shader _shader_fscolour = { ""}, .fs = { -.orig_file = "../../shaders/colour.fs", .static_src = "out vec4 FragColor;\n" "uniform vec4 uColour;\n" @@ -36,7 +34,7 @@ static struct vg_shader _shader_fscolour = { static GLuint _uniform_fscolour_uColour; static void shader_fscolour_uColour(v4f v){ - glUniform4fv( _uniform_fscolour_uColour, 1, v ); + glUniform4fv(_uniform_fscolour_uColour,1,v); } static void shader_fscolour_register(void){ vg_shader_register( &_shader_fscolour );