vinix-ports / tests / toolchain / graphite.c
6 lines · 6 sloc · 185 bytes · e9d38658eac1f6ccabeafd3cc560020b098402c7
Raw
1void fill_rows(int grid[32][32], int step)
2{
3 for (int row = 0; row < 32; ++row)
4 for (int col = 1; col < 32; ++col)
5 grid[row][col] = grid[row][col - 1] + step;
6}
7