[delete] delete comment GetClipboardImage into NOTE about where put SDL_free() .
This commit is contained in:
parent
f740bd35fd
commit
6bf8213b76
1 changed files with 0 additions and 1 deletions
|
|
@ -1255,7 +1255,6 @@ Image GetClipboardImage(void)
|
||||||
|
|
||||||
for (int i = 0; i < SDL_arraysize(imageFormats); i++)
|
for (int i = 0; i < SDL_arraysize(imageFormats); i++)
|
||||||
{
|
{
|
||||||
// NOTE: This pointer should be free with SDL_free() at some point
|
|
||||||
fileData = SDL_GetClipboardData(imageFormats[i], &dataSize);
|
fileData = SDL_GetClipboardData(imageFormats[i], &dataSize);
|
||||||
|
|
||||||
if (fileData)
|
if (fileData)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue