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
|
||||
void *GetWindowHandle(void)
|
||||
{
|
||||
#if defined(PLATFORM_DESKTOP) && defined(_WIN32)
|
||||
#if defined(_WIN32)
|
||||
// NOTE: Returned handle is: void *HWND (windows.h)
|
||||
return glfwGetWin32Window(CORE.Window.handle);
|
||||
#endif
|
||||
#if defined(PLATFORM_DESKTOP) && defined(__linux__)
|
||||
#if defined(__linux__)
|
||||
// NOTE: Returned handle is: unsigned long Window (X.h)
|
||||
// typedef unsigned long XID;
|
||||
// typedef XID Window;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user