Added a FIXME.

This commit is contained in:
Ryan C. Gordon 2016-08-09 16:58:06 -04:00
parent 15f5e2ffcb
commit 42d1f00fec

View File

@ -375,6 +375,7 @@ inputCallback(void *inRefCon,
if (len > remaining)
len = remaining;
/* !!! FIXME: why are we copying here? just pass the buffer to the callback? */
SDL_memcpy((char *)this->hidden->buffer + this->hidden->bufferOffset, ptr, len);
ptr += len;
remaining -= len;