Add more missing implementations 3
This commit is contained in:
parent
c25d0b85e3
commit
6127924d4b
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user