Skip to content

Commit 6fbdf91

Browse files
committed
Skip Null backend on Windows.
1 parent 501fdb9 commit 6fbdf91

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Source/Core/VideoCommon/VideoBackendBase.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ void VideoBackendBase::PopulateList()
8686
// disable OGL video Backend while is merged from master
8787
g_available_video_backends.push_back(std::make_unique<OGL::VideoBackend>());
8888

89-
// on macOS, we want to push users to use Vulkan on 10.14+ (Mojave onwards). OpenGL has been
89+
// on macOS, we want to push users to use Vulkan on 10.14+ (Mojave onwards). OpenGL has been
9090
// long deprecated by Apple there and is a known stumbling block for performance for new players.
9191
//
9292
// That said, we still support High Sierra, which can't use Metal (it will load, but lacks certain critical pieces).
@@ -100,7 +100,7 @@ void VideoBackendBase::PopulateList()
100100
g_available_video_backends.begin(),
101101
std::make_unique<Vulkan::VideoBackend>()
102102
);
103-
}
103+
}
104104
else
105105
#endif
106106
{
@@ -110,7 +110,11 @@ void VideoBackendBase::PopulateList()
110110

111111
// Disable software video backend as is currently not working
112112
//g_available_video_backends.push_back(std::make_unique<SW::VideoSoftware>());
113+
114+
// TODO: write vcxproj files for Null backend
115+
#ifndef _WIN32
113116
g_available_video_backends.push_back(std::make_unique<Null::VideoBackend>());
117+
#endif
114118

115119
for (auto& backend : g_available_video_backends)
116120
{

0 commit comments

Comments
 (0)