summaryrefslogtreecommitdiff
path: root/gaunt01
diff options
context:
space:
mode:
Diffstat (limited to 'gaunt01')
-rw-r--r--gaunt01/src/main.cpp2
-rw-r--r--gaunt01/src/testApp.cpp8
2 files changed, 6 insertions, 4 deletions
diff --git a/gaunt01/src/main.cpp b/gaunt01/src/main.cpp
index d8ec5c8..1f3ac12 100644
--- a/gaunt01/src/main.cpp
+++ b/gaunt01/src/main.cpp
@@ -6,7 +6,7 @@
int main( ){
ofAppGlutWindow window;
- ofSetupOpenGL(&window, 1024,768, OF_WINDOW ); // <-------- setup the GL context
+ ofSetupOpenGL(&window, 1024,768, OF_FULLSCREEN ); // <-------- setup the GL context
printf("%ix%i on screen %ix%i\n",ofGetWidth(),ofGetHeight(),ofGetScreenWidth(),ofGetScreenHeight());
// this kicks off the running of my app
// can be OF_WINDOW or OF_FULLSCREEN
diff --git a/gaunt01/src/testApp.cpp b/gaunt01/src/testApp.cpp
index 8fe42cc..810ef0a 100644
--- a/gaunt01/src/testApp.cpp
+++ b/gaunt01/src/testApp.cpp
@@ -159,9 +159,10 @@ void testApp::setup(){
doorsounds[3].loadSound("voice falling down hole.wav");
cam.begin();
- cam.end();
- updatePlane();
+
+
+ cam.end();
}
@@ -801,7 +802,8 @@ void testApp::draw(){
if (gameTime>segTimes[gameState]) {
gameState++;
gameStart=ofGetElapsedTimef();
- gameTime=0.0f;
+ gameTime=0.0f;
+ updatePlane();
}
break;
case PLAYING: