Skip to content

Commit 73674f2

Browse files
committed
Remove wsi_common_src and dep_displayinfo from "none" wsi build
1 parent b10a123 commit 73674f2

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

src/wsi/meson.build

+3-2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ wsi_glfw_src = [
2020
wsi_none_src = [
2121
'none/wsi_monitor_none.cpp',
2222
'none/wsi_window_none.cpp',
23+
'none/wsi_edid_none.cpp',
2324
]
2425

2526
if dxvk_wsi == 'win32'
@@ -32,8 +33,8 @@ elif dxvk_wsi == 'glfw'
3233
wsi_src = wsi_common_src + wsi_glfw_src
3334
wsi_deps = [ dep_displayinfo, lib_glfw ]
3435
elif dxvk_wsi == 'none'
35-
wsi_src = wsi_common_src + wsi_none_src
36-
wsi_deps = [ dep_displayinfo ]
36+
wsi_src = wsi_none_src
37+
wsi_deps = []
3738
else
3839
error('Unknown wsi')
3940
endif

src/wsi/none/wsi_edid_none.cpp

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#include "wsi_edid.h"
2+
3+
namespace dxvk::wsi {
4+
5+
std::optional<WsiDisplayMetadata> parseColorimetryInfo(
6+
const WsiEdidData& edidData) {
7+
return std::nullopt;
8+
}
9+
10+
}

0 commit comments

Comments
 (0)