summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2023-03-05 20:06:45 +0100
committerRay <[email protected]>2023-03-05 20:06:45 +0100
commitd3f5bc40436ef45aee2cc353f985d4ad5fc57bbd (patch)
tree9c9ece7e07dcb3d9537e7207a3d83ae5204a0e87 /src
parentf4f6e25340080e149deea5f640976dd8f7452d33 (diff)
downloadraylib-d3f5bc40436ef45aee2cc353f985d4ad5fc57bbd.tar.gz
raylib-d3f5bc40436ef45aee2cc353f985d4ad5fc57bbd.zip
REVIEWED: `GetWindowHandle()` #2950
Diffstat (limited to 'src')
-rw-r--r--src/rcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcore.c b/src/rcore.c
index 4efb2017..4f3d98b0 100644
--- a/src/rcore.c
+++ b/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;