Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant #[cfg] conditions from backend/direct.rs. #2811

Merged
merged 1 commit into from
Jun 26, 2022

Commits on Jun 26, 2022

  1. Remove redundant #[cfg] conditions from backend/direct.rs.

    The entire `wgpu::backend::direct` module is included only under the
    condition:
    
        #[cfg(any(not(target_arch = "wasm32"), feature = "webgl"))]
    
    So there is no need to apply this condition to any item within that
    module.
    jimblandy committed Jun 26, 2022
    Configuration menu
    Copy the full SHA
    60742bf View commit details
    Browse the repository at this point in the history