mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-04 22:59:49 +00:00
Added notes about delayed clipboard rendering on Windows
This commit is contained in:
@@ -220,6 +220,11 @@ int WIN_SetClipboardData(SDL_VideoDevice *_this)
|
||||
size_t i;
|
||||
int result = 0;
|
||||
|
||||
/* I investigated delayed clipboard rendering, and at least with text and image
|
||||
* formats you have to use an output window, not SDL_HelperWindow, and the system
|
||||
* requests them being rendered immediately, so there isn't any benefit.
|
||||
*/
|
||||
|
||||
if (WIN_OpenClipboard(_this)) {
|
||||
EmptyClipboard();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user