Move dx interface into graphics module.
This commit is contained in:
parent
672b31b603
commit
4bb87de0e6
23 changed files with 130 additions and 64 deletions
|
@ -25,9 +25,7 @@ TEST_CASE(TestD2dOffScreenRendering, "graphics")
|
|||
auto rect = std::make_unique<RectangleNode>(DiscretePoint(10, 10), 10.0, 20.0);
|
||||
|
||||
auto scene = surface->getScene();
|
||||
|
||||
scene->addNode(rect.get());
|
||||
scene->update();
|
||||
|
||||
drawing_context->paint();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue