diff --git a/wgpu/Cargo.toml b/wgpu/Cargo.toml index 1a80d17aa..096b7b488 100644 --- a/wgpu/Cargo.toml +++ b/wgpu/Cargo.toml @@ -34,3 +34,7 @@ env_logger = "0.6" glsl-to-spirv = "0.1" log = "0.4" png = "0.15" + +[patch.crates-io] +#gfx-hal = { path = "../gfx/src/hal" } +#gfx-backend-dx12 = { path = "../gfx/src/backend/dx12" } diff --git a/wgpu/examples/msaa-line/main.rs b/wgpu/examples/msaa-line/main.rs index 1082f421f..689f4910c 100644 --- a/wgpu/examples/msaa-line/main.rs +++ b/wgpu/examples/msaa-line/main.rs @@ -101,7 +101,7 @@ impl Example { impl framework::Example for Example { fn init(sc_desc: &wgpu::SwapChainDescriptor, device: &mut wgpu::Device) -> Self { println!("Press left/right arrow keys to change sample_count."); - let sample_count = 2; + let sample_count = 4; let vs_bytes = framework::load_glsl(include_str!("shader.vert"), framework::ShaderStage::Vertex); let fs_bytes = framework::load_glsl(include_str!("shader.frag"), framework::ShaderStage::Fragment);