19 lines
303 B
C++

#include "vulkanapp.hh"
#include <exception>
int main() {
VulkanApp app(640, 480);
try {
app.init();
app.loop();
app.cleanup();
} catch(const std::exception& except) {
fprintf(stderr, "Error! %s\n", except.what());
return 1;
}
return 0;
}