From a07455c175db33d8d95bc5cd83738808d74cd105 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 11 Mar 2021 09:14:30 -0800 Subject: Add Linux support to `platform` and `gfx`. (#1744) --- tools/platform/gui.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'tools/platform/gui.cpp') diff --git a/tools/platform/gui.cpp b/tools/platform/gui.cpp index 5c210f460..f2f9561d5 100644 --- a/tools/platform/gui.cpp +++ b/tools/platform/gui.cpp @@ -34,7 +34,6 @@ LRESULT CALLBACK guiWindowProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam return handled; } -void setNativeWindowHook(Window* window, WNDPROC proc); #endif @@ -51,8 +50,6 @@ GUI::GUI( #ifdef _WIN32 ImGui_ImplWin32_Init((HWND)window->getNativeHandle().handleValues[0]); - - setNativeWindowHook(window, &guiWindowProc); #endif // Let's do the initialization work required for our graphics API -- cgit v1.2.3