From 6baaa3a5f21d2fc1820dbab5492c2e92b6a1f838 Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Sun, 14 Aug 2022 17:22:11 +0000 Subject: [PATCH] [d3d9] New window proc code on multiple platforms --- src/d3d9/d3d9_window.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/d3d9/d3d9_window.cpp b/src/d3d9/d3d9_window.cpp index 68dadcdc..a7fa4a7d 100644 --- a/src/d3d9/d3d9_window.cpp +++ b/src/d3d9/d3d9_window.cpp @@ -5,6 +5,7 @@ namespace dxvk { +#ifdef _WIN32 struct D3D9WindowData { bool unicode; bool filter; @@ -139,5 +140,25 @@ namespace dxvk if (it != g_windowProcMap.end()) it->second.activateProcessed = processed; } +#else + D3D9WindowMessageFilter::D3D9WindowMessageFilter(HWND window, bool filter) { + + } + + D3D9WindowMessageFilter::~D3D9WindowMessageFilter() { + + } + + void ResetWindowProc(HWND window) { + + } + + void HookWindowProc(HWND window, D3D9SwapChainEx* swapchain) { + + } + + void SetActivateProcessed(HWND window, bool processed) { + } +#endif }