aboutsummaryrefslogtreecommitdiff
path: root/src/win/graph/direct/resource.cpp
blob: 772bb74ba1a9d2a644d0722aecdad3dc5957475d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "cru/win/graph/direct/Resource.hpp"

#include "cru/win/graph/direct/Factory.hpp"

namespace cru::platform::graph::win::direct {
DirectGraphResource::DirectGraphResource(DirectGraphFactory* factory)
    : factory_(factory) {
  Expects(factory);
}

IGraphFactory* DirectGraphResource::GetGraphFactory() { return factory_; }
}  // namespace cru::platform::graph::win::direct