test_flip_page: Revert wrong initialize routine.
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Mon, 3 Feb 2014 00:28:16 +0000 (09:28 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Mon, 3 Feb 2014 00:28:16 +0000 (09:28 +0900)
src/bin/test_flip_page.c

index 5e0201c..5fbb9df 100644 (file)
@@ -514,7 +514,9 @@ _state_update(State *st)
 
         for (row = 0, gy = 0; gy < h; gy += gszh, row++)
           {
-             Vertex3 vo[4] = { 0 };
+             Vertex3 vo[4];
+
+             memset(vo, 0, sizeof(vo));
 
              if (b > 0) nn = num + st->slices_h - row - 1;
              else nn = num + row;