fix to match the RGFW updates
This commit is contained in:
parent
dd186fe2f6
commit
51d0fbc1f5
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user