1 #ifndef MSP_GL_DEVICE_BACKEND_H_
2 #define MSP_GL_DEVICE_BACKEND_H_
4 #include <msp/core/noncopyable.h>
5 #include <msp/graphics/glcontext.h>
10 class OpenGLDevice: public NonCopyable
13 Graphics::GLContext context;
15 OpenGLDevice(Graphics::Window &, const Graphics::GLOptions &);
19 Graphics::GLContext &get_context() { return context; }
22 using DeviceBackend = OpenGLDevice;
23 using DeviceOptions = Graphics::GLOptions;