diff --git a/src/platforms/rcore_desktop_rgfw.c b/src/platforms/rcore_desktop_rgfw.c index d47fac409473..40c97305c5b3 100644 --- a/src/platforms/rcore_desktop_rgfw.c +++ b/src/platforms/rcore_desktop_rgfw.c @@ -677,8 +677,7 @@ const char *GetClipboardText(void) #if defined(SUPPORT_CLIPBOARD_IMAGE) - -#ifdef _WIN32 +#if defined(_WIN32) #define WIN32_CLIPBOARD_IMPLEMENTATION #define WINUSER_ALREADY_INCLUDED #define WINBASE_ALREADY_INCLUDED @@ -687,13 +686,6 @@ const char *GetClipboardText(void) #endif #endif -// Get clipboard image -Image GetClipboardImage(void) -{ - Image image = { 0 }; - unsigned long long int dataSize = 0; - void *fileData = NULL; - #if defined(SUPPORT_CLIPBOARD_IMAGE) // Get clipboard image Image GetClipboardImage(void)