Skip to content

Commit

Permalink
remove duplicated code
Browse files Browse the repository at this point in the history
  • Loading branch information
teoxoy authored and jimblandy committed Sep 28, 2023
1 parent e6a47ba commit c927d3e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/back/glsl/features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c927d3e

Please sign in to comment.