mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-15 15:58:14 +00:00
REVIEWED: GetWindowHandle()
#2938
This commit is contained in:
@@ -1718,7 +1718,8 @@ void *GetWindowHandle(void)
|
|||||||
// typedef unsigned long XID;
|
// typedef unsigned long XID;
|
||||||
// typedef XID Window;
|
// typedef XID Window;
|
||||||
//unsigned long id = (unsigned long)glfwGetX11Window(window);
|
//unsigned long id = (unsigned long)glfwGetX11Window(window);
|
||||||
return NULL; // TODO: Find a way to return value... cast to void *?
|
//return NULL; // TODO: Find a way to return value... cast to void *?
|
||||||
|
return (void *)CORE.Window.handle;
|
||||||
#endif
|
#endif
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
// NOTE: Returned handle is: (objc_object *)
|
// NOTE: Returned handle is: (objc_object *)
|
||||||
|
Reference in New Issue
Block a user