Remove unneeded platform macros for desktop

This commit is contained in:
ubkp 2023-09-23 11:44:53 -03:00
parent 0c0f16b710
commit de32ac5e5a

View File

@ -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;