add wgpu example with option to make plot the same size as outer window

This commit is contained in:
Benedikt Mandelkow 2020-10-13 00:36:31 +02:00 committed by 4bb4
parent 564392f0bf
commit 7d5df2f2d6
5 changed files with 478 additions and 0 deletions

View file

@ -55,6 +55,7 @@ fn main() -> io::Result<()> {
// Taken from the imgui-sys build as well
build.flag_if_supported("-Wno-return-type-c-linkage");
build.flag_if_supported("-Wno-unused-parameter");
build.flag_if_supported("-std=c++11");
for path in CPP_FILES {
assert_file_exists(path)?;