From 538616817a749642836ad3b2faff16706500602e Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 6 Oct 2023 20:55:42 +0800 Subject: ... --- demos/Graphics/DrawCircle/PlatformMain.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 demos/Graphics/DrawCircle/PlatformMain.cpp (limited to 'demos/Graphics/DrawCircle/PlatformMain.cpp') diff --git a/demos/Graphics/DrawCircle/PlatformMain.cpp b/demos/Graphics/DrawCircle/PlatformMain.cpp new file mode 100644 index 00000000..3da1ec89 --- /dev/null +++ b/demos/Graphics/DrawCircle/PlatformMain.cpp @@ -0,0 +1,12 @@ +#include "cru/platform/bootstrap/Bootstrap.h" + +#include "DrawCircle.h" + +int main() { + std::unique_ptr graphics_factory( + cru::platform::bootstrap::CreateGraphicsFactory()); + + cru::demos::graphics::DrawCircle(graphics_factory.get()); + + return 0; +} -- cgit v1.2.3