mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
remove duplicated code
This commit is contained in:
committed by
Jim Blandy
parent
e6a47ba262
commit
c927d3ec82
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user