]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/device.cpp
Move backend information into Device
[libs/gl.git] / source / core / device.cpp
index 9a24a1f2c905ef1dc025f28b45227794305985de..e3b43e2db2cf3ad45feb8396f7e890d7605c24c6 100644 (file)
@@ -10,6 +10,9 @@ Device::Device(Graphics::Window &w, const DeviceOptions &o):
        DeviceBackend(w, o)
 {
        current = this;
+
+       info.api = get_backend_api();
+       fill_info();
 }
 
 Device::~Device()