summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2023-03-05 11:26:37 +0100
committerRay <[email protected]>2023-03-05 11:26:37 +0100
commitab14ad5d754f7bbccbf8845b8062c8ece018b3e0 (patch)
treed335928273807e7bf6b4f698bab151a9037778de /src
parent0eeb499288b7c8f948588695e5927bfd07eabe07 (diff)
downloadraylib-ab14ad5d754f7bbccbf8845b8062c8ece018b3e0.tar.gz
raylib-ab14ad5d754f7bbccbf8845b8062c8ece018b3e0.zip
Close issue #2949
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 6f4fa295..4efb2017 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__)
+#if defined(__linux__) && !defined(PLATFORM_DRM)
// NOTE: Returned handle is: unsigned long Window (X.h)
// typedef unsigned long XID;
// typedef XID Window;