Skip to content

Commit

Permalink
Skip Null backend on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
vladfi1 committed Sep 4, 2024
1 parent 501fdb9 commit 6fbdf91
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Source/Core/VideoCommon/VideoBackendBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ void VideoBackendBase::PopulateList()
// disable OGL video Backend while is merged from master
g_available_video_backends.push_back(std::make_unique<OGL::VideoBackend>());

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

// Disable software video backend as is currently not working
//g_available_video_backends.push_back(std::make_unique<SW::VideoSoftware>());

// TODO: write vcxproj files for Null backend
#ifndef _WIN32
g_available_video_backends.push_back(std::make_unique<Null::VideoBackend>());
#endif

for (auto& backend : g_available_video_backends)
{
Expand Down

0 comments on commit 6fbdf91

Please sign in to comment.