fix to match the RGFW updates

This commit is contained in:
Colleague Riley 2024-06-08 14:35:23 -04:00
parent dd186fe2f6
commit 51d0fbc1f5

View File

@ -431,7 +431,11 @@ void SetWindowFocused(void)
// Get native window handle // Get native window handle
void *GetWindowHandle(void) void *GetWindowHandle(void)
{ {
return platform.window->src.window; #ifndef RGFW_WINDOWS
return (void*)platform.window->src.window;
#else
return platform.window->src.hwnd;
#endif
} }
// Get number of monitors // Get number of monitors