Add GetPlatformHandle

This commit is contained in:
sse2 2024-09-11 03:42:54 +03:00
commit 921c1055d2
7 changed files with 42 additions and 0 deletions

View file

@ -424,6 +424,12 @@ void *GetWindowHandle(void)
return NULL;
}
void *GetPlatformHandle(void)
{
TRACELOG(LOG_WARNING, "GetPlatformHandle() not implemented on target platform");
return NULL;
}
// Get number of monitors
int GetMonitorCount(void)
{

View file

@ -721,6 +721,11 @@ void *GetWindowHandle(void)
return NULL;
}
void *GetPlatformHandle(void)
{
return platform.handle;
}
// Get number of monitors
int GetMonitorCount(void)
{

View file

@ -541,6 +541,12 @@ void *GetWindowHandle(void)
#endif
}
void *GetPlatformHandle(void)
{
TRACELOG(LOG_WARNING, "GetPlatformHandle() not implemented on target platform");
return NULL;
}
// Get number of monitors
int GetMonitorCount(void)
{

View file

@ -682,6 +682,12 @@ void *GetWindowHandle(void)
return (void *)platform.window;
}
void *GetPlatformHandle(void)
{
TRACELOG(LOG_WARNING, "GetPlatformHandle() not implemented on target platform");
return NULL;
}
// Get number of monitors
int GetMonitorCount(void)
{

View file

@ -364,6 +364,12 @@ void *GetWindowHandle(void)
return NULL;
}
void *GetPlatformHandle(void)
{
TRACELOG(LOG_WARNING, "GetPlatformHandle() not implemented on target platform");
return NULL;
}
// Get number of monitors
int GetMonitorCount(void)
{

View file

@ -201,6 +201,12 @@ void *GetWindowHandle(void)
return NULL;
}
void *GetPlatformHandle(void)
{
TRACELOG(LOG_WARNING, "GetPlatformHandle() not implemented on target platform");
return NULL;
}
// Get number of monitors
int GetMonitorCount(void)
{

View file

@ -655,6 +655,12 @@ void *GetWindowHandle(void)
return NULL;
}
void *GetPlatformHandle(void)
{
TRACELOG(LOG_WARNING, "GetPlatformHandle() not implemented on target platform");
return NULL;
}
// Get number of monitors
int GetMonitorCount(void)
{