diff options
-rw-r--r-- | dda.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -117,17 +117,16 @@ dda (test_data_t *testdata) e -= BIG_STEP_X * dy; xi -= (1 << 8); xi |= (N_GRID_X - 1); - - goto begin; + goto small; } } else { + small: if (e > SMALL_STEP_X * dy) { e -= SMALL_STEP_X * dy; xi--; - goto begin; } } |