summaryrefslogtreecommitdiff
path: root/src/graphics.c
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2017-02-09 03:05:41 -0600
committerepoch <epoch@hacking.allowed.org>2017-02-09 03:05:41 -0600
commit17347b2e23292aad11c879d3df4a0e73c31e2ae8 (patch)
treee124afb91a59e1f415051a097446b713c5f78d79 /src/graphics.c
parentd98c4fe440f2abe3a6682e9e7f9a439fe2540a21 (diff)
downloadhackvr-17347b2e23292aad11c879d3df4a0e73c31e2ae8.tar.gz
hackvr-17347b2e23292aad11c879d3df4a0e73c31e2ae8.zip
fixed up some red and blue stuff and put (hopefully) useful stuff into README. Also made testit.sh use a pre-converted version of the female mesh so people will not need perl to test it.
Diffstat (limited to 'src/graphics.c')
-rw-r--r--src/graphics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics.c b/src/graphics.c
index cdd9c4a..3cb973f 100644
--- a/src/graphics.c
+++ b/src/graphics.c
@@ -419,7 +419,7 @@ void draw_screen() {
for(i=0;global.shape[i];i++) {
//now we pick the color of this triangle!
if(gra_global.red_and_blue) {
- if(cn==0) {
+ if(cn%2==0) {
set_color_red();
} else {
set_color_blue();