Breakpoint 1, main (argc=3, argv=0xbfb56e04) at lol.c:27 27 for(i = 0, x = 0, y=0; i < (height * width); i++ ) (gdb) s 28 printf("%d, %d : %f %f %f\n", vertices[x++], vertices[x++], colors[y++], colors[y++], colors[y++]); (gdb) s 0, 0 : 1.000000 1.000000 1.000000 27 for(i = 0, x = 0, y=0; i < (height * width); i++ ) (gdb) print x $2 = 2 (gdb) print vertices[x] $3 = 0 (gdb) print vertices[x+1] $4 = 1 (gdb) s 28 printf("%d, %d : %f %f %f\n", vertices[x++], vertices[x++], colors[y++], colors[y++], colors[y++]); (gdb) s 1, 0 : 1.000000 1.000000 1.000000