diff options
Diffstat (limited to 'src/graphics/texture.rs')
| -rw-r--r-- | src/graphics/texture.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphics/texture.rs b/src/graphics/texture.rs index cd4dd7a..a6085e3 100644 --- a/src/graphics/texture.rs +++ b/src/graphics/texture.rs @@ -1,6 +1,6 @@ #![deny(unsafe_code)] use crate::error::*; -use crate::graphics::permanent::PermanentGraphicsState; +use crate::graphics::Permanent; use crate::graphics::util::{ stage_in_buffer, allocate_image, init_image_view, begin_transient_commands, end_transient_commands @@ -22,7 +22,7 @@ pub struct Texture { impl Texture { - pub fn new(permanent: &PermanentGraphicsState) -> Result<(Self, u32)> { + pub fn new(permanent: &Permanent) -> Result<(Self, u32)> { let graphics_queue = &permanent.graphics_queue; let instance = &permanent.instance; let device = &permanent.device; |