aboutsummaryrefslogtreecommitdiff
path: root/demos/Graphics/DrawCircle/PlatformMain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'demos/Graphics/DrawCircle/PlatformMain.cpp')
-rw-r--r--demos/Graphics/DrawCircle/PlatformMain.cpp12
1 files changed, 12 insertions, 0 deletions
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<cru::platform::graphics::IGraphicsFactory> graphics_factory(
+ cru::platform::bootstrap::CreateGraphicsFactory());
+
+ cru::demos::graphics::DrawCircle(graphics_factory.get());
+
+ return 0;
+}