minecraftvulkan/src/main.cpp

18 lines
295 B
C++
Raw Normal View History

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