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)
{
current = this;
+
+ info.api = get_backend_api();
+ fill_info();
}
Device::~Device()