X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ferror.h;h=8af3ec6b4e3fb13394c943ecbc89280e3dfe9332;hp=bb714506ccf908ced9aea4f057fa78dbfdd4370e;hb=bec07999d95b76f4b47cffcc564d0cd0afc0435e;hpb=2e7f19b895424c3a77940e648639f8df2b395d0f diff --git a/source/error.h b/source/error.h index bb714506..8af3ec6b 100644 --- a/source/error.h +++ b/source/error.h @@ -41,6 +41,13 @@ public: virtual ~compile_error() throw() { } }; +class incomplete_uniform_block: public std::runtime_error +{ +public: + incomplete_uniform_block(const std::string &w): std::runtime_error(w) { } + virtual ~incomplete_uniform_block() throw() { } +}; + } // namespace GL } // namespace Msp