]> git.tdb.fi Git - libs/gl.git/commitdiff
Add a missing initialization
authorMikko Rasa <tdb@tdb.fi>
Wed, 2 Oct 2013 17:58:28 +0000 (20:58 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 2 Oct 2013 17:58:28 +0000 (20:58 +0300)
source/renderer.cpp

index 31d9621ef89195688ed0febaed9e9cbc67d12169..36685b4742ce699d8d7a4ab5d99254443464cc48 100644 (file)
@@ -23,6 +23,7 @@ Renderer::Renderer(const Camera *c):
        mtx_changed(false),
        camera(c),
        state_stack(1),
+       lighting_changed(false),
        vertex_array(0),
        element_buffer(0)
 {