]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/device.cpp
Check the flat qualifier from the correct member
[libs/gl.git] / source / core / device.cpp
index e3b43e2db2cf3ad45feb8396f7e890d7605c24c6..3186015c73ebb9c887119ffdd618a2339804fe09 100644 (file)
@@ -6,6 +6,10 @@ namespace GL {
 
 Device *Device::current = 0;
 
+Device::Device(Graphics::Window &w):
+       Device(w, create_default_options())
+{ }
+
 Device::Device(Graphics::Window &w, const DeviceOptions &o):
        DeviceBackend(w, o)
 {