mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-02-17 20:34:28 +01:00
Added a FIXME.
This commit is contained in:
parent
3139e5d16b
commit
5de11a5fc5
@ -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…
Reference in New Issue
Block a user