#define MSP_GRAPHICS_GLCONTEXT_H_
#include <stdexcept>
+#include "mspgui_api.h"
namespace Msp {
namespace Graphics {
};
-class unsupported_gl_mode: public std::runtime_error
+class MSPGUI_API unsupported_gl_mode: public std::runtime_error
{
public:
unsupported_gl_mode(const GLOptions &);
};
-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());