test: add vulkan renderer scene coverage
This commit is contained in:
@@ -178,7 +178,7 @@ void RHIIntegrationFixture::SetUp() {
|
||||
}
|
||||
|
||||
void RHIIntegrationFixture::BeginRender() {
|
||||
if (GetParam() == RHIType::Vulkan) {
|
||||
if (GetParam() == RHIType::Vulkan && RequiresSwapChainAcquire()) {
|
||||
#if defined(XCENGINE_SUPPORT_VULKAN)
|
||||
auto* vulkanSwapChain = static_cast<VulkanSwapChain*>(mSwapChain);
|
||||
ASSERT_NE(vulkanSwapChain, nullptr);
|
||||
|
||||
Reference in New Issue
Block a user