aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Berger <j.david.berger@gmail.com>2018-04-08 15:52:22 -0600
committerJustin Berger <j.david.berger@gmail.com>2018-04-08 16:19:39 -0600
commit347a479f84f124548e810d94d91175b6be43db1d (patch)
tree1c491521678cf9f9715a68e1e7419ffccc22affb
parenta2e00c099d28e541c0e1fa1bd4fa8d3e386ae089 (diff)
downloadlibsurvive-347a479f84f124548e810d94d91175b6be43db1d.tar.gz
libsurvive-347a479f84f124548e810d94d91175b6be43db1d.tar.bz2
modified showreproject tool to be less annoying
-rw-r--r--tools/showreproject/showreproject.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/showreproject/showreproject.cc b/tools/showreproject/showreproject.cc
index 755cb92..8bb91a2 100644
--- a/tools/showreproject/showreproject.cc
+++ b/tools/showreproject/showreproject.cc
@@ -223,8 +223,8 @@ int main(int argc, char **argv) {
}
size_t showui = survive_configi(ctx1, "show-ui", SC_GET, 0);
-
- drawbsds(ctx1);
+ if(showui)
+ drawbsds(ctx1);
int waitUpdate = 100;
int SIZE = 1000;