Mercurial > sdl-ios-xcode
comparison EXCLUDE/GLTSF/src/Main.cpp @ 4730:6032ada8b9e5
Adding GLTSF (somewhat based on SFML, no actual TSF code yet)
author | dewyatt |
---|---|
date | Tue, 25 May 2010 18:53:09 -0400 |
parents | |
children | 0c7c67d4e6ee |
comparison
equal
deleted
inserted
replaced
4464:fa77a6429698 | 4730:6032ada8b9e5 |
---|---|
1 #include "App.hpp" | |
2 #include <stdexcept> | |
3 | |
4 int main(int argc, char *argv[]) | |
5 { | |
6 try | |
7 { | |
8 App theApp; | |
9 theApp.Run(); | |
10 } | |
11 catch (const std::exception& e) | |
12 { | |
13 printf("Error: %s\n", e.what()); | |
14 return 1; | |
15 } | |
16 return 0; | |
17 } |