Added Windows clipboard support
This commit is contained in:
parent
a007a28624
commit
3ff2d236cd
11 changed files with 235 additions and 28 deletions
|
@ -30,6 +30,9 @@ SDL_SetClipboardText(const char *text)
|
|||
{
|
||||
SDL_VideoDevice *_this = SDL_GetVideoDevice();
|
||||
|
||||
if (!text) {
|
||||
text = "";
|
||||
}
|
||||
if (_this->SetClipboardText) {
|
||||
return _this->SetClipboardText(_this, text);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue