aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-03-30 06:57:20 +0000
committerGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-03-30 06:57:20 +0000
commita54a466252f41004b5199995f9bfda8072f7f09a (patch)
tree06ec60b43494ab7b8584c1f54e54287a00e156d0 /main.cpp
parent969bc3f4d0828d932b49bbff2ff6a4f2ac7c7926 (diff)
downloadbullet-lab-remix-a54a466252f41004b5199995f9bfda8072f7f09a.tar.xz
Add screen shot, fix screen shot bug in hge_unix.
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 7224a6c..5c351f3 100644
--- a/main.cpp
+++ b/main.cpp
@@ -810,6 +810,7 @@ bool FrameFunc()
fnt->printf(5, 150, HGETEXT_LEFT, "Multiplier: %.2lf",mult);
}
}
+ if(hge->Input_GetKeyStateEx(HGEK_S)==HGEKST_HIT)hge->System_Snapshot();
hge->Gfx_EndScene();
return false;
}