diff options
| author | Ray <[email protected]> | 2023-03-05 20:06:45 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2023-03-05 20:06:45 +0100 |
| commit | d3f5bc40436ef45aee2cc353f985d4ad5fc57bbd (patch) | |
| tree | 9c9ece7e07dcb3d9537e7207a3d83ae5204a0e87 | |
| parent | f4f6e25340080e149deea5f640976dd8f7452d33 (diff) | |
| download | raylib-d3f5bc40436ef45aee2cc353f985d4ad5fc57bbd.tar.gz raylib-d3f5bc40436ef45aee2cc353f985d4ad5fc57bbd.zip | |
REVIEWED: `GetWindowHandle()` #2950
| -rw-r--r-- | src/rcore.c | 2 |
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; |
