Remove unneeded platform macros for desktop
This commit is contained in:
parent
0c0f16b710
commit
de32ac5e5a
|
|
@ -1149,11 +1149,11 @@ static void ErrorCallback(int error, const char *description)
|
||||||
// Get native window handle
|
// Get native window handle
|
||||||
void *GetWindowHandle(void)
|
void *GetWindowHandle(void)
|
||||||
{
|
{
|
||||||
#if defined(PLATFORM_DESKTOP) && defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
// NOTE: Returned handle is: void *HWND (windows.h)
|
// NOTE: Returned handle is: void *HWND (windows.h)
|
||||||
return glfwGetWin32Window(CORE.Window.handle);
|
return glfwGetWin32Window(CORE.Window.handle);
|
||||||
#endif
|
#endif
|
||||||
#if defined(PLATFORM_DESKTOP) && defined(__linux__)
|
#if defined(__linux__)
|
||||||
// NOTE: Returned handle is: unsigned long Window (X.h)
|
// NOTE: Returned handle is: unsigned long Window (X.h)
|
||||||
// typedef unsigned long XID;
|
// typedef unsigned long XID;
|
||||||
// typedef XID Window;
|
// typedef XID Window;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user