X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Fblit.h;h=12a0dcb2c293823f2b21104175ac7252c56b2b34;hb=0a33f65eecb5e75cddaefa08d3a5eb1a301d0479;hp=49e4c802ae25ea25aec799a4e15067d143a18e32;hpb=168eb5c363f510d60703498e01ffcdb52bf9fd07;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/blit.h b/shaders/blit.h index 49e4c80..12a0dcb 100644 --- a/shaders/blit.h +++ b/shaders/blit.h @@ -7,7 +7,7 @@ static struct vg_shader _shader_blit = { .link = shader_blit_link, .vs = { -.orig_file = "../shaders/blit.vs", +.orig_file = "shaders/blit.vs", .static_src = "layout (location=0) in vec2 a_co;\n" "out vec2 aUv;\n" @@ -20,7 +20,7 @@ static struct vg_shader _shader_blit = { ""}, .fs = { -.orig_file = "../shaders/blit.fs", +.orig_file = "shaders/blit.fs", .static_src = "out vec4 FragColor;\n" "uniform sampler2D uTexMain;\n" @@ -68,7 +68,7 @@ static struct vg_shader _shader_blit = { static GLuint _uniform_blit_uTexMain; static void shader_blit_uTexMain(int i){ - glUniform1i( _uniform_blit_uTexMain, i ); + glUniform1i(_uniform_blit_uTexMain,i); } static void shader_blit_register(void){ vg_shader_register( &_shader_blit );