keep linux happy

This commit is contained in:
georgemoralis 2026-01-09 16:55:03 +02:00
parent 447975ed65
commit be2109de10
2 changed files with 3 additions and 4 deletions

View File

@ -1,16 +1,15 @@
// SPDX-FileCopyrightText: Copyright 2025 shadPS4 Emulator Project
// SPDX-FileCopyrightText: Copyright 2025-2026 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/config.h"
#include "common/serdes.h"
#include "core/emulator_settings.h"
#include "shader_recompiler/frontend/fetch_shader.h"
#include "shader_recompiler/info.h"
#include "video_core/cache_storage.h"
#include "video_core/renderer_vulkan/vk_instance.h"
#include "video_core/renderer_vulkan/vk_pipeline_cache.h"
#include "video_core/renderer_vulkan/vk_shader_util.h"
#include "core/emulator_settings.h"
namespace Serialization {
/* You should increment versions below once corresponding serialization scheme is changed. */

View File

@ -88,7 +88,7 @@ vk::SurfaceKHR CreateSurface(vk::Instance instance, const Frontend::WindowSDL& e
UNREACHABLE();
}
} else if (window_info.type == Frontend::WindowSystemType::Wayland) {
if (EmulatorSetttings::GeItInstance()->isRdocEnabled()) {
if (EmulatorSetttings::GetInstance()->isRdocEnabled()) {
LOG_ERROR(Render_Vulkan,
"RenderDoc is not compatible with Wayland, use an X11 window instead.");
}