summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-02-03 09:28:16 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-02-03 09:28:16 +0900
commita69f7831f98930863495f1fa6bac1f3c15354ce5 (patch)
tree581ab66283794deda0a3ef3627d9f6923d269f76
parent5cb9d937e6d5f73bd8dba00fdddbc830ab4192af (diff)
test_flip_page: Revert wrong initialize routine.
-rw-r--r--src/bin/test_flip_page.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/test_flip_page.c b/src/bin/test_flip_page.c
index 5e0201c58..5fbb9dfb3 100644
--- a/src/bin/test_flip_page.c
+++ b/src/bin/test_flip_page.c
@@ -514,7 +514,9 @@ _state_update(State *st)
514 514
515 for (row = 0, gy = 0; gy < h; gy += gszh, row++) 515 for (row = 0, gy = 0; gy < h; gy += gszh, row++)
516 { 516 {
517 Vertex3 vo[4] = { 0 }; 517 Vertex3 vo[4];
518
519 memset(vo, 0, sizeof(vo));
518 520
519 if (b > 0) nn = num + st->slices_h - row - 1; 521 if (b > 0) nn = num + st->slices_h - row - 1;
520 else nn = num + row; 522 else nn = num + row;