Add stub function for GetClipboardImage() to improve Python binding support

This commit is contained in:
Tera << 8 2025-06-08 08:27:36 -04:00
parent 07c5e54f59
commit 15afe89aff
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37

View file

@ -531,6 +531,15 @@ const char *GetClipboardText(void)
return NULL;
}
#if defined(SUPPORT_CLIPBOARD_IMAGE)
// Get clipboard image
Image GetClipboardImage(void)
{
TRACELOG(LOG_WARNING, "GetClipboardImage() not implemented on target platform");
return (Image){NULL,0,0,0,PIXELFORMAT_UNCOMPRESSED_GRAYSCALE};
}
#endif // SUPPORT_CLIPBOARD_IMAGE
// Show mouse cursor
void ShowCursor(void)
{