X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fsyntax.h;h=8567555a5d342ef6dfadeab58627fa2ccc0e2ef8;hb=95312044b7b474af5671eb67f9df8debf96bf54c;hp=a3b217d40895f2d6e4ae790abec56082094b6e95;hpb=38712d8ecc57d043a2419ffbaeeb57f7a6586f14;p=libs%2Fgl.git diff --git a/source/glsl/syntax.h b/source/glsl/syntax.h index a3b217d4..8567555a 100644 --- a/source/glsl/syntax.h +++ b/source/glsl/syntax.h @@ -525,7 +525,7 @@ struct Stage }; Type type; - Stage *previous; + Stage *previous = 0; Block content; std::map types; std::map interface_blocks; @@ -533,6 +533,7 @@ struct Stage std::map locations; std::map texture_bindings; std::map uniform_block_bindings; + unsigned n_clip_distances = 0; Features required_features; std::vector diagnostics;