From 7de72e3437b325942e8d1ada3f9bb6dd905bf9f1 Mon Sep 17 00:00:00 2001 From: Andreas Reich Date: Sat, 19 Nov 2022 19:01:40 +0100 Subject: [PATCH] fixup for 2x/8x msaa pr --- wgpu-hal/src/gles/adapter.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wgpu-hal/src/gles/adapter.rs b/wgpu-hal/src/gles/adapter.rs index fe65fe68fb..399655febb 100644 --- a/wgpu-hal/src/gles/adapter.rs +++ b/wgpu-hal/src/gles/adapter.rs @@ -718,7 +718,7 @@ impl crate::Adapter for super::Adapter { super::PrivateCapabilities::COLOR_BUFFER_HALF_FLOAT, Tfc::COLOR_ATTACHMENT | Tfc::COLOR_ATTACHMENT_BLEND - | Tfc::MULTISAMPLE + | sample_count | Tfc::MULTISAMPLE_RESOLVE, ); @@ -726,7 +726,7 @@ impl crate::Adapter for super::Adapter { super::PrivateCapabilities::COLOR_BUFFER_FLOAT, Tfc::COLOR_ATTACHMENT | Tfc::COLOR_ATTACHMENT_BLEND - | Tfc::MULTISAMPLE + | sample_count | Tfc::MULTISAMPLE_RESOLVE, );