X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Fglsl_error.cpp;h=392682db7b5693c210a5ec9eb495c55cdc824f27;hp=aff897ca012c73b249bd63fc12fe5e3e9cfa9299;hb=76cc18518fc8b0b4fa11fda153e7d9b3899ed112;hpb=c1ec86d6b9ceb6c71f787fed3b2ea6c75457a474 diff --git a/source/glsl/glsl_error.cpp b/source/glsl/glsl_error.cpp index aff897ca..392682db 100644 --- a/source/glsl/glsl_error.cpp +++ b/source/glsl/glsl_error.cpp @@ -19,6 +19,16 @@ parse_error::parse_error(const Location &loc, const string &token, const string invalid_shader_source(loc, "Parse error at '%s': expected %s", token, expected) { } + +Diagnostic::Diagnostic(Severity v, int s, unsigned l, const string &m): + severity(v), + source(s), + line(l), + provoking_source(s), + provoking_line(l), + message(m) +{ } + } // namespace SL } // namespace GL } // namespace Msp