diff options
author | quou <quou@disroot.org> | 2024-12-27 18:52:48 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-12-27 18:52:48 +1100 |
commit | d920e5d62020d751ccaa3491cc66275ade749011 (patch) | |
tree | e806a95c598e255f9883de98cc350a3b9279d0ce /c2.cpp | |
parent | e8c93463b2ae5114f0c88e768e5625abac9d5a50 (diff) |
building and running on windows with visual studio
Diffstat (limited to 'c2.cpp')
-rw-r--r-- | c2.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -65,7 +65,7 @@ struct Config_Buffer { float offset[2]; }; -int main() { +extern "C" int entrypoint() { Arena video_arena, asset_arena, ui_arena; Asset_Arena assets; Device* dev; @@ -180,4 +180,5 @@ int main() { dev->destroy_buffer(cbuf); dev->destroy(); app->destroy(); + return 0; } |