From c7df7d83dd9e8c63d11fbeed1b08a493cd9dd081 Mon Sep 17 00:00:00 2001 From: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com> Date: Tue, 26 Sep 2023 13:08:23 +0200 Subject: [PATCH] remove duplicated code --- src/back/glsl/features.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/back/glsl/features.rs b/src/back/glsl/features.rs index 6bb5b18888..2a706fb1e9 100644 --- a/src/back/glsl/features.rs +++ b/src/back/glsl/features.rs @@ -209,11 +209,6 @@ impl FeaturesManager { writeln!(out, "#extension GL_OES_sample_variables : require")?; } - if self.0.contains(Features::SAMPLE_VARIABLES) && version.is_es() { - // https://www.khronos.org/registry/OpenGL/extensions/OES/OES_sample_variables.txt - writeln!(out, "#extension GL_OES_sample_variables : require")?; - } - if self.0.contains(Features::MULTI_VIEW) { if let Version::Embedded { is_webgl: true, .. } = version { // https://www.khronos.org/registry/OpenGL/extensions/OVR/OVR_multiview2.txt