summaryrefslogtreecommitdiffstats
Side-by-side diff
-rw-r--r--src/model/exp004base.sqc11
-rw-r--r--src/model/exp004state.h35
-rw-r--r--src/view/exp004init.c5
-rw-r--r--src/view/exp004view.c4
4 files changed, 18 insertions, 37 deletions
diff --git a/src/view/exp004view.c b/src/view/exp004view.c
index aa6e966..cc27a93 100644
--- a/src/view/exp004view.c
+++ b/src/view/exp004view.c
@@ -2,6 +2,7 @@
#include "../controller/exp004mouse.h"
#include "../controller/exp004reshape.h"
#include "../controller/keyboard.h"
+#include "../db/dbconnect.h"
#include "../model/exp004base.h"
#include "exp004init.h"
#include "exp004view.h"
@@ -10,6 +11,9 @@
void
exp004view (void)
{
+ // Connect to the database.
+ dbconnect ();
+
// GLUT Initialization
glutInitWindowSize (500, 500);
glutInitWindowPosition (100, 100);

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.