mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 14:56:42 +00:00
Fix unused code / imports in the examples
This commit is contained in:
parent
0540af70d8
commit
9d2c028699
@ -7,7 +7,6 @@
|
||||
// notice may not be copied, modified, or distributed except
|
||||
// according to those terms.
|
||||
|
||||
#[macro_use]
|
||||
extern crate vulkano;
|
||||
|
||||
use vulkano::device::{Device, DeviceExtensions};
|
||||
|
@ -17,6 +17,8 @@
|
||||
// and that you want to learn Vulkan. This means that for example it won't go into details about
|
||||
// what a vertex or a shader is.
|
||||
|
||||
// For the purpose of this example all unused code is allowed.
|
||||
#![allow(dead_code)]
|
||||
|
||||
// The `vulkano` crate is the main crate that you must use to use Vulkan.
|
||||
#[macro_use]
|
||||
|
Loading…
Reference in New Issue
Block a user