X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fglcontext.h;h=38c36b109d9bfc0f14b3dcbbb6240d68fd6ff203;hb=b99a9eb342d0f6ba5509c6d9f8ab0b0b5d5d2979;hp=c637b39e95308bdf6913e7c3dbbfc52de5f9839d;hpb=0ea9d1cd23fa58281e3726c088fc7961d8a29a29;p=libs%2Fgui.git diff --git a/source/graphics/glcontext.h b/source/graphics/glcontext.h index c637b39..38c36b1 100644 --- a/source/graphics/glcontext.h +++ b/source/graphics/glcontext.h @@ -2,6 +2,7 @@ #define MSP_GRAPHICS_GLCONTEXT_H_ #include +#include "mspgui_api.h" namespace Msp { namespace Graphics { @@ -25,7 +26,7 @@ struct GLOptions }; -class unsupported_gl_mode: public std::runtime_error +class MSPGUI_API unsupported_gl_mode: public std::runtime_error { public: unsupported_gl_mode(const GLOptions &); @@ -35,14 +36,14 @@ private: }; -class GLContext +class MSPGUI_API GLContext { private: struct Private; Display &display; Window &window; - Private *priv = 0; + Private *priv = nullptr; public: GLContext(Window &wnd, const GLOptions &opts = GLOptions());