Add more missing implementations 3

This commit is contained in:
ubkp 2023-10-17 20:49:55 -03:00
parent c25d0b85e3
commit 6127924d4b

View File

@ -452,15 +452,14 @@ Vector2 GetWindowScaleDPI(void)
// Set clipboard text content
void SetClipboardText(const char *text)
{
TRACELOG(LOG_WARNING, "SetClipboardText() not implemented on target platform");
SDL_SetClipboardText(text);
}
// Get clipboard text content
// NOTE: returned string is allocated and freed by GLFW
// NOTE: returned string must be freed with SDL_free()
const char *GetClipboardText(void)
{
TRACELOG(LOG_WARNING, "GetClipboardText() not implemented on target platform");
return NULL;
return SDL_GetClipboardText();
}
// Show mouse cursor