Skip to content

Commit

Permalink
Remove wsi_common_src and dep_displayinfo from "none" wsi build
Browse files Browse the repository at this point in the history
  • Loading branch information
expipiplus1 committed Jul 27, 2023
1 parent 94bbb92 commit b4d7b2b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/wsi/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ wsi_glfw_src = [
wsi_none_src = [
'none/wsi_monitor_none.cpp',
'none/wsi_window_none.cpp',
'none/wsi_edid_none.cpp',
]

if dxvk_wsi == 'win32'
Expand All @@ -32,8 +33,8 @@ elif dxvk_wsi == 'glfw'
wsi_src = wsi_common_src + wsi_glfw_src
wsi_deps = [ dep_displayinfo, lib_glfw ]
elif dxvk_wsi == 'none'
wsi_src = wsi_common_src + wsi_none_src
wsi_deps = [ dep_displayinfo ]
wsi_src = wsi_none_src
wsi_deps = []
else
error('Unknown wsi')
endif
Expand Down
10 changes: 10 additions & 0 deletions src/wsi/none/wsi_edid_none.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#include "wsi_edid.h"

namespace dxvk::wsi {

std::optional<WsiDisplayMetadata> parseColorimetryInfo(
const WsiEdidData& edidData) {
return std::nullopt;
}

}

0 comments on commit b4d7b2b

Please sign in to comment.