projects
/
retroray
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more dos port
[retroray]
/
src
/
modern
/
main.c
diff --git
a/src/modern/main.c
b/src/modern/main.c
index
c72b788
..
1af9e85
100644
(file)
--- a/
src/modern/main.c
+++ b/
src/modern/main.c
@@
-20,6
+20,7
@@
along with this program. If not, see <https://www.gnu.org/licenses/>.
#include <assert.h>
#include "miniglut.h"
#include "app.h"
#include <assert.h>
#include "miniglut.h"
#include "app.h"
+#include "logger.h"
static void reshape(int x, int y);
static void keydown(unsigned char key, int x, int y);
static void reshape(int x, int y);
static void keydown(unsigned char key, int x, int y);
@@
-81,6
+82,8
@@
int main(int argc, char **argv)
win_height = glutGet(GLUT_WINDOW_HEIGHT);
win_aspect = (float)win_width / win_height;
win_height = glutGet(GLUT_WINDOW_HEIGHT);
win_aspect = (float)win_width / win_height;
+ init_logger();
+
if(app_init() == -1) {
return 1;
}
if(app_init() == -1) {
return 1;
}