Browse Source

REVIEWED: `GetWindowHandle()` #2950

Ray 2 years ago
parent
commit
d3f5bc4043
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/rcore.c

+ 1 - 1
src/rcore.c

@@ -1713,7 +1713,7 @@ void *GetWindowHandle(void)
     // NOTE: Returned handle is: void *HWND (windows.h)
     return glfwGetWin32Window(CORE.Window.handle);
 #endif
-#if defined(__linux__) && !defined(PLATFORM_DRM)
+#if defined(PLATFORM_DESKTOP) && defined(__linux__)
     // NOTE: Returned handle is: unsigned long Window (X.h)
     // typedef unsigned long XID;
     // typedef XID Window;