From: Mikko Rasa Date: Sun, 13 Dec 2015 15:47:20 +0000 (+0200) Subject: Minor cosmetic fixes X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=c36b23943c2f3eaad6a728137f714abfb835b9f3;p=geometrycompositor.git Minor cosmetic fixes --- 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;