1 #ifndef MSP_GL_DEVICE_H_
2 #define MSP_GL_DEVICE_H_
4 #include <msp/graphics/window.h>
5 #include "device_backend.h"
11 Represents a graphics device. An instance must be created to use the library.
13 class Device: public DeviceBackend
18 static Device *current;
21 Device(Graphics::Window &, const DeviceOptions & = DeviceOptions());
24 using DeviceBackend::get_context;
26 static Device &get_current();