From a8194cff3ca8f9b85a779da6b8214b58ba3fa7d0 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Fri, 30 Sep 2016 23:59:40 +1000 Subject: [PATCH] VideoNull: Set all fields in backend_info A few of these were missing, which could cause the adapter list to remain visible after switching to null, for example. --- Source/Core/VideoBackends/Null/NullBackend.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Source/Core/VideoBackends/Null/NullBackend.cpp b/Source/Core/VideoBackends/Null/NullBackend.cpp index 5321c522ff..8e54a730e7 100644 --- a/Source/Core/VideoBackends/Null/NullBackend.cpp +++ b/Source/Core/VideoBackends/Null/NullBackend.cpp @@ -26,18 +26,27 @@ void VideoBackend::InitBackendInfo() g_Config.backend_info.api_type = APIType::Nothing; g_Config.backend_info.bSupportsExclusiveFullscreen = true; g_Config.backend_info.bSupportsDualSourceBlend = true; - g_Config.backend_info.bSupportsEarlyZ = true; g_Config.backend_info.bSupportsPrimitiveRestart = true; g_Config.backend_info.bSupportsOversizedViewports = true; g_Config.backend_info.bSupportsGeometryShaders = true; g_Config.backend_info.bSupports3DVision = false; + g_Config.backend_info.bSupportsEarlyZ = true; + g_Config.backend_info.bSupportsBindingLayout = true; + g_Config.backend_info.bSupportsBBox = true; + g_Config.backend_info.bSupportsGSInstancing = true; g_Config.backend_info.bSupportsPostProcessing = false; g_Config.backend_info.bSupportsPaletteConversion = true; g_Config.backend_info.bSupportsClipControl = true; + g_Config.backend_info.bSupportsSSAA = true; + g_Config.backend_info.bSupportsDepthClamp = true; + g_Config.backend_info.bSupportsReversedDepthRange = true; g_Config.backend_info.bSupportsMultithreading = false; // aamodes: We only support 1 sample, so no MSAA + g_Config.backend_info.Adapters.clear(); g_Config.backend_info.AAModes = {1}; + g_Config.backend_info.PPShaders.clear(); + g_Config.backend_info.AnaglyphShaders.clear(); } bool VideoBackend::Initialize(void* window_handle)