X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgbase%2Fglcontext.h;h=dfac328d9846f550d680cb5695d5ec9694856d28;hb=7d2b4349289578b8e7f322186a1f251684ddeb01;hp=a719b85d82ee134174e444bd68e33a21797a75c9;hpb=821cea8627597a5458c1cb02c0652384bb3431a4;p=libs%2Fgui.git diff --git a/source/gbase/glcontext.h b/source/gbase/glcontext.h index a719b85..dfac328 100644 --- a/source/gbase/glcontext.h +++ b/source/gbase/glcontext.h @@ -1,6 +1,8 @@ #ifndef MSP_GBASE_GLCONTEXT_H_ #define MSP_GBASE_GLCONTEXT_H_ +#include + namespace Msp { namespace Graphics { @@ -17,6 +19,15 @@ struct GLOptions GLOptions(); }; + +class unsupported_gl_mode: public std::runtime_error +{ +public: + unsupported_gl_mode(const GLOptions &); + virtual ~unsupported_gl_mode() throw () { } +}; + + class GLContext { private: