mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Merge #174
174: Update wgpu and disable no_redirection_bitmap r=kvark a=kvark Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
This commit is contained in:
@@ -27,14 +27,14 @@ vulkan = ["wgn/vulkan-portability"]
|
||||
package = "wgpu-native"
|
||||
version = "0.4"
|
||||
git = "https://github.com/gfx-rs/wgpu"
|
||||
rev = "009bde0f90d581ef4112978c1d1f3edc14f38e1e"
|
||||
rev = "d4a46cb60e71d6b108e9052cc581e52e44a16a44"
|
||||
#path = "../wgpu/wgpu-native"
|
||||
|
||||
[dependencies.wgc]
|
||||
package = "wgpu-core"
|
||||
version = "0.1"
|
||||
git = "https://github.com/gfx-rs/wgpu"
|
||||
rev = "009bde0f90d581ef4112978c1d1f3edc14f38e1e"
|
||||
rev = "d4a46cb60e71d6b108e9052cc581e52e44a16a44"
|
||||
#path = "../wgpu/wgpu-core"
|
||||
|
||||
[dependencies]
|
||||
|
||||
@@ -66,7 +66,7 @@ pub fn run<E: Example>(title: &str) {
|
||||
let (window, size, surface) = {
|
||||
let mut builder = winit::window::WindowBuilder::new();
|
||||
builder = builder.with_title(title);
|
||||
#[cfg(windows)]
|
||||
#[cfg(windows_OFF)] //TODO
|
||||
{
|
||||
use winit::platform::windows::WindowBuilderExtWindows;
|
||||
builder = builder.with_no_redirection_bitmap(true);
|
||||
|
||||
Reference in New Issue
Block a user