REVIEWED: GetWindowHandle(), to be consistent between backends, fix #5885
Returns the underlying window handle for platforms with some windowing system.
This commit is contained in:
parent
f0d3e9a5c8
commit
2ee6a76464
1 changed files with 94 additions and 23 deletions
|
|
@ -473,8 +473,7 @@ void SetWindowFocused(void)
|
|||
// Get native window handle
|
||||
void *GetWindowHandle(void)
|
||||
{
|
||||
TRACELOG(LOG_WARNING, "GetWindowHandle() not implemented on target platform");
|
||||
return NULL;
|
||||
return (void *)platform.app->window; // Type: ANativeWindow*
|
||||
}
|
||||
|
||||
// Get number of monitors
|
||||
|
|
|
|||
Loading…
Reference in a new issue