X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Fglsl_error.h;h=0a271994299f22db6dacd16ea25f350db695cd49;hp=0b4b4b02d2ddff4641f41b5c59ce2df6c1d110f7;hb=38712d8ecc57d043a2419ffbaeeb57f7a6586f14;hpb=3bc34893905a2df622894aadcb6669f27f186772 diff --git a/source/glsl/glsl_error.h b/source/glsl/glsl_error.h index 0b4b4b02..0a271994 100644 --- a/source/glsl/glsl_error.h +++ b/source/glsl/glsl_error.h @@ -54,14 +54,14 @@ struct Diagnostic ERR }; - Severity severity; - int source; - unsigned line; - int provoking_source; - unsigned provoking_line; + Severity severity = INFO; + int source = 0; + unsigned line = 0; + int provoking_source = 0; + unsigned provoking_line = 0; std::string message; - Diagnostic(); + Diagnostic() = default; Diagnostic(Severity, int, unsigned, const std::string &); };