Przeglądaj źródła

REVIEWED: `GetWindowHandle()` #2938

pull/2951/head
Ray 2 lat temu
rodzic
commit
1611cd54e7
1 zmienionych plików z 2 dodań i 1 usunięć
  1. +2
    -1
      src/rcore.c

+ 2
- 1
src/rcore.c Wyświetl plik

@ -1718,7 +1718,8 @@ void *GetWindowHandle(void)
// typedef unsigned long XID;
// typedef XID 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
#if defined(__APPLE__)
// NOTE: Returned handle is: (objc_object *)

Ładowanie…
Anuluj
Zapisz