aboutsummaryrefslogtreecommitdiff
path: root/demos/Graphics/DrawCircle/PlatformMain.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-10-06 20:55:42 +0800
committercrupest <crupest@outlook.com>2023-10-06 20:55:42 +0800
commit538616817a749642836ad3b2faff16706500602e (patch)
tree4c1f00d653e7b339a4fbd505cd686993589c2c8c /demos/Graphics/DrawCircle/PlatformMain.cpp
parentded4428d7286925db1f5ab9f18f549c85033839d (diff)
downloadcru-538616817a749642836ad3b2faff16706500602e.tar.gz
cru-538616817a749642836ad3b2faff16706500602e.tar.bz2
cru-538616817a749642836ad3b2faff16706500602e.zip
...
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;
+}