From c36b23943c2f3eaad6a728137f714abfb835b9f3 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 13 Dec 2015 17:47:20 +0200 Subject: [PATCH] Minor cosmetic fixes --- source/main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/main.c b/source/main.c index 970774d..a8a17fd 100644 --- a/source/main.c +++ b/source/main.c @@ -111,7 +111,7 @@ static const char *fshader_src = "out vec4 frag_color;\n" "void main()\n" "{\n" - " frag_color = texture(image, texcoord);\n" + " frag_color = texture(image, texcoord);\n" "}\n"; static const char *masked_fshader_src = @@ -1199,7 +1199,9 @@ void refresh_screen(Compositor *compositor, CompositedScreen *screen) glBindVertexArray(screen->window_vertex_array); for(i=0; inwindows; ++i) { - CompositedWindow *window = &screen->windows[i]; + CompositedWindow *window; + + window = &screen->windows[i]; if(window->map_state!=IsViewable) continue; -- 2.45.2