aboutsummaryrefslogtreecommitdiff
path: root/examples/smelt_test.cpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2017-06-17 22:43:07 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2017-06-17 22:43:07 +0800
commit123771f6b50550d35ba3f6d7c87e240686c23703 (patch)
treecfaac5cc5195eb10f9e8a246e589f0e498a0475a /examples/smelt_test.cpp
parent16a560a5e723c27e61f5bba945a089b7b926f4ae (diff)
downloadSMELT-123771f6b50550d35ba3f6d7c87e240686c23703.tar.xz
Fixed example application.
Fixed compile errors in Windows.
Diffstat (limited to 'examples/smelt_test.cpp')
-rw-r--r--examples/smelt_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/smelt_test.cpp b/examples/smelt_test.cpp
index 6bad6a6..879a507 100644
--- a/examples/smelt_test.cpp
+++ b/examples/smelt_test.cpp
@@ -61,7 +61,7 @@ bool doingNothing()
if(d>0.37){sm->smSFXPlay(sfx);d=0;}
//We render the 3D scene to a render target.
- sm->smRenderBegin3D(60,testtrg);
+ sm->smRenderBegin3D(60,true,testtrg);
//camera position and rotation.
static float pos[3]={0,0,600};
static float rot[3]={0,0,-30};