Don't forget to flip the buffer.