]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/opengl/device_backend.cpp
Create a Device class to hold the graphics context
[libs/gl.git] / source / backends / opengl / device_backend.cpp
diff --git a/source/backends/opengl/device_backend.cpp b/source/backends/opengl/device_backend.cpp
new file mode 100644 (file)
index 0000000..5429c0c
--- /dev/null
@@ -0,0 +1,11 @@
+#include "device_backend.h"
+
+namespace Msp {
+namespace GL {
+
+OpenGLDevice::OpenGLDevice(Graphics::Window &wnd, const Graphics::GLOptions &opts):
+       context(wnd, opts)
+{ }
+
+} // namespace GL
+} // namespace Msp