X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fmaterials%2Funlitmaterial.h;h=11641fa15be3a0b78de657af3669f0f399c12208;hp=4481d5f988f446d446c048303666803c0af44e46;hb=38712d8ecc57d043a2419ffbaeeb57f7a6586f14;hpb=3bc34893905a2df622894aadcb6669f27f186772 diff --git a/source/materials/unlitmaterial.h b/source/materials/unlitmaterial.h index 4481d5f9..11641fa1 100644 --- a/source/materials/unlitmaterial.h +++ b/source/materials/unlitmaterial.h @@ -24,9 +24,9 @@ public: }; private: - const Texture *texture; + const Texture *texture = 0; Color color; - bool vertex_color; + bool vertex_color = false; static const Tag texture_tags[];