Added a FIXME.
This commit is contained in:
parent
7fd7e882eb
commit
7ab0405d0f
1 changed files with 1 additions and 0 deletions
|
@ -375,6 +375,7 @@ inputCallback(void *inRefCon,
|
||||||
if (len > remaining)
|
if (len > remaining)
|
||||||
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);
|
SDL_memcpy((char *)this->hidden->buffer + this->hidden->bufferOffset, ptr, len);
|
||||||
ptr += len;
|
ptr += len;
|
||||||
remaining -= len;
|
remaining -= len;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue