minecraftvulkan/src/main.cpp

18 lines
297 B
C++
Raw Normal View History

2022-10-01 18:35:16 +00:00
#include "minecraft.hpp"
2022-09-19 01:20:51 +00:00
#include <cstdlib>
#include <iostream>
#include <stdexcept>
int main() {
2022-10-01 18:35:16 +00:00
app::Minecraft app{};
2022-09-19 01:20:51 +00:00
try {
app.run();
} catch (const std::exception &e) {
std::cerr << e.what() << '\n';
return EXIT_FAILURE;
}
return EXIT_SUCCESS;
}