Rev Author Line No. Line
23 ovan 1 #include "../device/device.h"
2 #include "driver.h"
3  
4 namespace sleek
5 {
6     namespace driver
7     {
8         driver::driver(std::shared_ptr<device::Device> dev, std::shared_ptr<context> c) noexcept
9             : src(dev), ctx(c), mat(std::make_shared<material>())
10         {
11         }
12  
13         driver::~driver() noexcept
14         {
15         }
16  
17         std::shared_ptr<context> driver::getContext()
18         {
19             return ctx;
20         }
21     }
22 }