From c6b11f83798ad10591924102504eb5e9b5ef9f33 Mon Sep 17 00:00:00 2001 From: Mr-Wiseguy Date: Sat, 29 Jun 2024 10:35:54 -0400 Subject: [PATCH] Remove accidental change in rt64 render context --- src/main/rt64_render_context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/rt64_render_context.cpp b/src/main/rt64_render_context.cpp index 9578251..497e504 100644 --- a/src/main/rt64_render_context.cpp +++ b/src/main/rt64_render_context.cpp @@ -268,7 +268,7 @@ zelda64::renderer::RT64Context::RT64Context(uint8_t* rdram, ultramodern::rendere // Check if the selected device actually supports MSAA sample positions and MSAA for for the formats that will be used // and downgrade the configuration accordingly. - if (true) {//app->device->getCapabilities().sampleLocations) { + if (app->device->getCapabilities().sampleLocations) { RT64::RenderSampleCounts color_sample_counts = app->device->getSampleCountsSupported(RT64::RenderFormat::R8G8B8A8_UNORM); RT64::RenderSampleCounts depth_sample_counts = app->device->getSampleCountsSupported(RT64::RenderFormat::D32_FLOAT); RT64::RenderSampleCounts common_sample_counts = color_sample_counts & depth_sample_counts;