projects
/
csrpg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
beed00a
)
added bounds checking on layer traversal
author
matthew
<matthew@owens.tech>
Tue, 7 Aug 2018 19:50:01 +0000
(19:50 +0000)
committer
matthew
<matthew@owens.tech>
Tue, 7 Aug 2018 19:50:01 +0000
(19:50 +0000)
nogl/main.c
patch
|
blob
|
history
diff --git
a/nogl/main.c
b/nogl/main.c
index
b8abb74
..
77b0c5f
100644
(file)
--- a/
nogl/main.c
+++ b/
nogl/main.c
@@
-66,9
+66,9
@@
int main()
quit = true;
break;
case LAYER_UP:
-
//
if(layer < 9){
-
//
layer++;
-
//
}
+ if(layer < 9){
+
layer++;
+ }
layer++;
brndr_set_rendered_layer(layer);
brndr_render();