X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Ffscolour.h;h=7318cac89d044434f05b4ef95c683ce35e3b3962;hb=6d98c1e42c1617a8a426f9f0c0df99b75725b486;hp=ccef7b0a5a8a2f2d5530eb6c9e2f4255c640f54d;hpb=ecc4dfbfb3adf91d2dfc03ba0ec9a821fcc2390c;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/fscolour.h b/shaders/fscolour.h index ccef7b0..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 );